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


IServerConnection.Connect Method (ArcObjects .NET 10.5 SDK)
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