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


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

IServerConnection.Connect Method

Creates connection to the server.

[Visual Basic .NET]
Public Sub Connect ( _
    ByVal bstrUserName As String, _
    ByVal bstrPassword As String _
)
[C#]
public void Connect (
    string bstrUserName,
    string bstrPassword
);
[C++]
HRESULT Connect(
  BSTR bstrUserName,
  BSTR bstrPassword
);
[C++]
Parameters
bstrUserName [in]

bstrUserName is a parameter of type BSTR bstrPassword [in]
bstrPassword is a parameter of type BSTR

Product Availability

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

See Also

IServerConnection Interface