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

IDynamicServiceHost Interface (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
ArcGIS Developer Help

IDynamicServiceHost Interface

Allows activation of dynamically hosted services.

Product Availability

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


Name Description
Method ActivateHostedService Activates dynamic service. Expected servicePath is either 'serviceName' or 'folderName/serviceName' with the URL separator between folder and service names.
Read-only property ActiveDynamicServiceName Returns active service name.
Method DeactivateHostedService Deactivates dynamic service using activationToken returned by ActivateHostedService().
Read-only property DynamicHostActive Returns status of the dynamic service host.
Method EvictActiveService Evicts previously activated service from in-memory cache.
Method EvictHostedService Evicts dynamic service from the the in-memory cache. If it is not in the cache, does nothing.
Method RefreshActiveService Reloads active dynamic service into the in-memory cache.
Method RefreshHostedService Reloads dynamic service into the in-memory cache.

Classes that implement IDynamicServiceHost

Classes Description