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


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

IDynamicServiceHost.EvictHostedService Method

Evicts dynamic service from the the in-memory cache. If it is not in the cache, does nothing.

[Visual Basic .NET]
Public Sub EvictHostedService ( _
    ByVal servicePath As String _
)
[C#]
public void EvictHostedService (
    string servicePath
);
[C++]
HRESULT EvictHostedService(
  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