ESRI.ArcGIS.ADF.Web.DataSources.IMS
FromDataSourceDefintion Method
See Also  Send Feedback
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).

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.