This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IA > IAISImageServerManager Interface > IAISImageServerManager.Connect Method (ArcObjects .NET 10.5 SDK) |
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