This document is archived and information here might be outdated.  Recommended version.


IServer.CreateConnection Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > TrackingAnalyst > ESRI.ArcGIS.TrackingAnalyst > Interfaces > IS > IServer Interface > IServer.CreateConnection Method
ArcGIS Developer Help

IServer.CreateConnection Method

Creates a server connection.

[Visual Basic .NET]
Public Function createConnection ( _
    ByVal cName As String, _
    ByVal cUserName As String, _
    ByVal cPassword As String, _
    ByVal cConnectionString As String _
) As IConnection
[C#]
public IConnection createConnection (
    string cName,
    string cUserName,
    string cPassword,
    string cConnectionString
);
[C++]
HRESULT createConnection(
  BSTR cName,
  BSTR cUserName,
  BSTR cPassword,
  BSTR cConnectionString
);
[C++]
Parameters
cName [in]

cName is a parameter of type BSTR cUserName [in]
cUserName is a parameter of type BSTR cPassword [in]
cPassword is a parameter of type BSTR cConnectionString [in]
cConnectionString is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

IServer Interface