Connects to an image server given host name and port.
[Visual Basic .NET] Public Function Connect ( _ ByVal serverHost As String, _ ByVal serverPort As String _ ) As Boolean
[C#] public bool Connect ( string serverHost, string serverPort );
[C++]
HRESULT Connect(
BSTR serverHost,
BSTR serverPort,
VARIANT_BOOL* retStatus
);
[C++]Parameters
serverHost [in] serverHost is a parameter of type BSTR serverPort [in] serverPort is a parameter of type BSTR retStatus [out, retval] retStatus is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.