ESRI.ArcGIS.ADF.ArcGISServer
Create(String,String,Identity,String,String) Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > NAServerProxy Class > Create Method : Create(String,String,Identity,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.
xmlNamespaceSubstitute
XML namespace substitute.
Creates a new NAServerProxy for network analysis 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 xmlNamespaceSubstitute As String _
) As NAServerProxy
Visual Basic (Usage)Copy Code
Dim dataSource As String
Dim service As String
Dim identity As Identity
Dim token As String
Dim xmlNamespaceSubstitute As String
Dim value As NAServerProxy
 
value = NAServerProxy.Create(dataSource, service, identity, token, xmlNamespaceSubstitute)
C# 
public static NAServerProxy Create( 
   string dataSource,
   string service,
   Identity identity,
   string token,
   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.
xmlNamespaceSubstitute
XML namespace substitute.

Return Value

NAServerProxy for making network-analysis reqests.

See Also

© 2010 All Rights Reserved.