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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.