ArcObjects Library Reference (TrackingAnalyst)  

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