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


IAISImageServerManager.AddService Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IAISImageServerManager.AddService Method

Adds an image service to the specified image service providers. Pass an empty array to indicate all available image service providers known by the server. Service name and service properties are optional.

[Visual Basic .NET]
Public Function AddService ( _
    ByVal servicePath As String, _
    ByVal serviceName As String, _
    ByVal ServiceProperties As String, _
    ByRef ispNames As String[]& _
) As Boolean
[C#]
public bool AddService (
    string servicePath,
    string serviceName,
    string ServiceProperties,
    ref String[]& ispNames
);
[C++]
HRESULT AddService(
  BSTR servicePath,
  BSTR serviceName,
  BSTR ServiceProperties,
  ispNames* ispNames,
  VARIANT_BOOL* retStatus
);
[C++]

Parameters servicePath [in] servicePath is a parameter of type BSTR serviceName [in] serviceName is a parameter of type BSTR ServiceProperties [in] ServiceProperties is a parameter of type BSTR ispNames [in] ispNames is a parameter of type 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