ESRI.ArcGIS.ADF.Web.DataSources.IMS
FromDataSourceDefintion Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > GISDataSource Class : FromDataSourceDefintion Method




dataSourceDefintion
Data source definition string, such as is output from ToDataSourceDefinition.
tcpConnection
Output parameter: whether the connection to the ArcIMS server is via TCP or (if false) via HTTP.
host
Output parameter: when tcpConnection is true, contains the name of the ArcIMS host machine.
port
Output parameter: when tcpConnection is true, contains the TCP port of the ArcIMS connection.
url
Output parameter: when tcpConneciton is false, contains the URL to the ArcIMS server (Servlet Connector).
Parses connection information from the input data source definition string.

Syntax

Visual Basic (Declaration) 
Public Shared Sub FromDataSourceDefintion( _
   ByVal dataSourceDefintion As String, _
   ByRef tcpConnection As Boolean, _
   ByRef host As String, _
   ByRef port As Integer, _
   ByRef url As String _
) 
Visual Basic (Usage)Copy Code
Dim dataSourceDefintion As String
Dim tcpConnection As Boolean
Dim host As String
Dim port As Integer
Dim url As String
 
GISDataSource.FromDataSourceDefintion(dataSourceDefintion, tcpConnection, host, port, url)
C# 
public static void FromDataSourceDefintion( 
   string dataSourceDefintion,
   out bool tcpConnection,
   out string host,
   out int port,
   out string url
)

Parameters

dataSourceDefintion
Data source definition string, such as is output from ToDataSourceDefinition.
tcpConnection
Output parameter: whether the connection to the ArcIMS server is via TCP or (if false) via HTTP.
host
Output parameter: when tcpConnection is true, contains the name of the ArcIMS host machine.
port
Output parameter: when tcpConnection is true, contains the TCP port of the ArcIMS connection.
url
Output parameter: when tcpConneciton is false, contains the URL to the ArcIMS server (Servlet Connector).

See Also

© 2010 All Rights Reserved.