ESRI.ArcGIS.ADF.Web.DataSources.IMS
ToDataSourceDefinition Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > GISDataSource Class : ToDataSourceDefinition Method




host
Name of the ArcIMS host machine.
port
TCP connector port for the ArcIMS server (Application Server).
Exports a data source definition string from the input host and port. Used for TCP connections to ArcIMS servers.

Syntax

Visual Basic (Declaration) 
Public Shared Function ToDataSourceDefinition( _
   ByVal host As String, _
   ByVal port As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim host As String
Dim port As Integer
Dim value As String
 
value = GISDataSource.ToDataSourceDefinition(host, port)
C# 
public static string ToDataSourceDefinition( 
   string host,
   int port
)

Parameters

host
Name of the ArcIMS host machine.
port
TCP connector port for the ArcIMS server (Application Server).

Return Value

String with the host and port concatenated by @ symbol.

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.