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


IAISImageServerManager.AddServiceProvider Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IAISImageServerManager.AddServiceProvider Method

Add a new image service provider using the specified friendly name on the specified host machine and port.

[Visual Basic .NET]
Public Function AddServiceProvider ( _
    ByVal ispName As String, _
    ByVal ispHostMachine As String, _
    ByVal ispHostPort As String _
) As Boolean
[C#]
public bool AddServiceProvider (
    string ispName,
    string ispHostMachine,
    string ispHostPort
);
[C++]
HRESULT AddServiceProvider(
  BSTR ispName,
  BSTR ispHostMachine,
  BSTR ispHostPort,
  VARIANT_BOOL* retStatus
);
[C++]

Parameters ispName [in] ispName is a parameter of type BSTR ispHostMachine [in] ispHostMachine is a parameter of type BSTR ispHostPort [in] ispHostPort 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.

See Also

IAISImageServerManager Interface