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.DeactivateHostedService Method (ArcObjects .NET 10.5 SDK) |
Deactivates dynamic service using activationToken returned by ActivateHostedService().
[Visual Basic .NET] Public Sub DeactivateHostedService ( _ ByVal activationToken As String _ )
[C#] public void DeactivateHostedService ( string activationToken );
[C++]
HRESULT DeactivateHostedService(
BSTR activationToken
);
[C++]
Parameters activationToken [in] activationToken is a parameter of type BSTR