ESRI.ArcGIS.ADF.ArcGISServer
Create(String,String,Identity,String,String) Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > MobileServerProxy 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 MobileServerProxy.

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 MobileServerProxy
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 MobileServerProxy
 
value = MobileServerProxy.Create(dataSource, service, identity, token, xmlNamespaceSubstitute)
C# 
public static MobileServerProxy 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

MapServerProxy for making map reqests.

See Also

© 2010 All Rights Reserved.