ESRI.ArcGIS.ADF.ArcGISServer
Create(String,String,Identity,String,String,String) Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > GPServerProxy Class > Create Method : Create(String,String,Identity,String,String,String) Method




dataSource
The ArcGIS Server data source as a string.
service
The service name.
identity
Identity with username and password for connecting with the server.
token
Authorization token.
userInfo
User info string.
xmlNamespaceSubstitute
XML namespace substitute.
Creates a new GPServerProxy for geoprocessing requests.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Create( _
   ByVal dataSource As String, _
   ByVal service As String, _
   ByVal identity As Identity, _
   ByVal token As String, _
   ByVal userInfo As String, _
   ByVal xmlNamespaceSubstitute As String _
) As GPServerProxy
Visual Basic (Usage)Copy Code
Dim dataSource As String
Dim service As String
Dim identity As Identity
Dim token As String
Dim userInfo As String
Dim xmlNamespaceSubstitute As String
Dim value As GPServerProxy
 
value = GPServerProxy.Create(dataSource, service, identity, token, userInfo, xmlNamespaceSubstitute)
C# 
public static GPServerProxy Create( 
   string dataSource,
   string service,
   Identity identity,
   string token,
   string userInfo,
   string xmlNamespaceSubstitute
)

Parameters

dataSource
The ArcGIS Server data source as a string.
service
The service name.
identity
Identity with username and password for connecting with the server.
token
Authorization token.
userInfo
User info string.
xmlNamespaceSubstitute
XML namespace substitute.

Return Value

GPServerProxy for making geoprocessing reqests.

See Also

© 2010 All Rights Reserved.