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


IDynamicServiceHost.DeactivateHostedService 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.DeactivateHostedService Method
ArcGIS Developer Help

IDynamicServiceHost.DeactivateHostedService Method

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

Product Availability

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

See Also

IDynamicServiceHost Interface