ArcObjects Library Reference  (Server)    

IGISServerConnection2.Connect2 Method

Connects the user specified by userInfo to the GIS server given by machineName.

[Visual Basic 6.0]
Sub Connect2(
    ByVal UserInfo As String, _
    ByVal machineName As String _
)
[Visual Basic .NET]
Public Sub Connect2 ( _
    ByVal UserInfo As String, _
    ByVal machineName As String _
)
[C#]
public void Connect2 (
    string UserInfo,
    string machineName
);
[Java]
public void connect2 (
    String UserInfo,
    String machineName
)
throws
    IOException,
    AutomationException
[C++]
HRESULT Connect2(
  BSTR UserInfo,
  BSTR machineName
);
[C++]

Parameters

UserInfo [in]

  UserInfo is a parameter of type BSTR

machineName [in]

  machineName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGISServerConnection2 Interface