ArcObjects Library Reference (Server)  

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,
  IServerObjectConfigurationStatus** ppStatus
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR TypeName [in]   TypeName is a parameter of type BSTR ppStatus [out, retval]

  ppStatus is a parameter of type IServerObjectConfigurationStatus

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