ESRI.ArcGIS.ADF.Web.DataSources.Graphics
FromConnectionDefintion Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.Graphics Namespace > GISDataSource Class : FromConnectionDefintion Method




connectionDefintion
Connection definition string.
tcpConnection
Whether to use a TCP connection.
host
Host name.
port
Port value.
url
URL connection string.
service
Service name.
Sets data source properties; for graphics data source, ignores the input values.

Syntax

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

Parameters

connectionDefintion
Connection definition string.
tcpConnection
Whether to use a TCP connection.
host
Host name.
port
Port value.
url
URL connection string.
service
Service name.

See Also

© 2010 All Rights Reserved.