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.StartService Method (ArcObjects .NET 10.5 SDK) |
Publishes the specified compiled service definition file as an image service on the image service providers specified when the service was added.
[Visual Basic .NET] Public Function StartService ( _ ByVal serviceName As String _ ) As Boolean
[C#] public bool StartService ( string serviceName );
[C++]
HRESULT StartService(
BSTR serviceName,
VARIANT_BOOL* retStatus
);
[C++]
Parameters serviceName [in] serviceName is a parameter of type BSTR retStatus [out, retval] retStatus is a parameter of type VARIANT_BOOL