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


IDynamicServiceHost.ActivateHostedService Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > ID > IDynamicServiceHost Interface > IDynamicServiceHost.ActivateHostedService Method
ArcGIS Developer Help

IDynamicServiceHost.ActivateHostedService Method

Activates dynamic service. Expected servicePath is either 'serviceName' or 'folderName/serviceName' with the URL separator between folder and service names.

[Visual Basic .NET]
Public Function ActivateHostedService ( _
    ByVal servicePath As String _
) As String
[C#]
public string ActivateHostedService (
    string servicePath
);
[C++]
HRESULT ActivateHostedService(
  BSTR servicePath
);
[C++]
Parameters
servicePath [in]

servicePath is a parameter of type BSTR

Product Availability

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

See Also

IDynamicServiceHost Interface