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


IServerObjectAdmin.GetConfigurationStatus Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.GetConfigurationStatus Method
ArcGIS Developer Help

IServerObjectAdmin.GetConfigurationStatus Method

Get the configuration status for a server object configuration with the specified Name and TypeName.

[Visual Basic .NET]
Public Function GetConfigurationStatus ( _
    ByVal Name As String, _
    ByVal TypeName As String _
) As IServerObjectConfigurationStatus
[C#]
public IServerObjectConfigurationStatus GetConfigurationStatus (
    string Name,
    string TypeName
);
[C++]
HRESULT GetConfigurationStatus(
  BSTR Name,
  BSTR TypeName
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR TypeName [in]
TypeName is a parameter of type BSTR

Product Availability

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

Remarks

The GetConfigurationStatus method will return the IServerObjectConfigurationStatus interface on a particular server object configuration. This interface provides information as to the number of instances of that configuration that are running, and the number in use. It provides information as to the startup status of the configuration.

You can use this interface to monitor server object configuration usage. For example, you can use the InstanceInUseCount to determine if any instances of the configuration are in use before stopping the configuration.

See Also

IServerObjectAdmin Interface