This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > TrackingAnalyst > ESRI.ArcGIS.TrackingAnalyst > Interfaces > IS > IServerConnection Interface > IServerConnection.Connect Method (ArcObjects .NET 10.4 SDK) |
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