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


IDynamicServiceHost.ActivateHostedService Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Server)  

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