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


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

IAISImageServerManager.GetServiceDefinitionName Method

Gets the service name of the image service, given the path to compiled service. Returns an empty string if the service was never published or has not been started.

[Visual Basic .NET]
Public Function GetServiceDefinitionName ( _
    ByVal servicePath As String _
) As String
[C#]
public string GetServiceDefinitionName (
    string servicePath
);
[C++]
HRESULT GetServiceDefinitionName(
  BSTR servicePath,
  BSTR* serviceName
);
[C++]

Parameters servicePath [in] servicePath is a parameter of type BSTR serviceName [out, retval] serviceName is a parameter of type BSTR

Product Availability

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

See Also

IAISImageServerManager Interface