This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > ID > IDynamicServiceHost Interface > IDynamicServiceHost.ActivateHostedService Method (ArcObjects .NET 10.5 SDK) |
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,
BSTR* activationToken
);
[C++]
Parameters servicePath [in] servicePath is a parameter of type BSTR activationToken [out, retval] activationToken is a parameter of type BSTR