Parses connection information from the input data source definition string.
Syntax
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) |
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