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


IServerObjectManager.GetConfigurationInfo Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IServerObjectManager.GetConfigurationInfo Method

Gets the ServerObjectConfigurationInfo for the specified Name and TypeName.

[Visual Basic .NET]
Public Function GetConfigurationInfo ( _
    ByVal Name As String, _
    ByVal TypeName As String _
) As IServerObjectConfigurationInfo
[C#]
public IServerObjectConfigurationInfo GetConfigurationInfo (
    string Name,
    string TypeName
);
[C++]
HRESULT GetConfigurationInfo(
  BSTR Name,
  BSTR TypeName,
  IServerObjectConfigurationInfo** ppInfo
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR TypeName [in] TypeName is a parameter of type BSTR ppInfo [out, retval]
ppInfo is a parameter of type IServerObjectConfigurationInfo

Product Availability

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

Remarks

Returns the server configuration with the specified Name and Type as a ServerObjectConfigurationInfo object. The Info object provides information about the server object configuration required to make use of them in an application. This method will only return a ServerObjectConfigurationInfo for configurations which are started. If you call this method and specify a configuration which is not started, it will return an error.

Additional information about started server object configurations, and configurations that are not started can be accessed using the IServerObjectAdmin interface.

See Also

IServerObjectManager Interface