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


IAISImageServerManager.AddService Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IA > IAISImageServerManager Interface > IAISImageServerManager.AddService Method
ArcGIS Developer Help

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,
  SAFEARRAY(System.String)* ispNames
);
[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 SAFEARRAY(BSTR)*

Product Availability

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

See Also

IAISImageServerManager Interface