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


IServerObjectAdmin.GetConfiguration 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.GetConfiguration Method
ArcGIS Developer Help

IServerObjectAdmin.GetConfiguration Method

Get the server object configuration with the specified Name and TypeName.

[Visual Basic .NET]
Public Function GetConfiguration ( _
    ByVal Name As String, _
    ByVal TypeName As String _
) As IServerObjectConfiguration
[C#]
public IServerObjectConfiguration GetConfiguration (
    string Name,
    string TypeName
);
[C++]
HRESULT GetConfiguration(
  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 GetConfiguration method returns the IServerObjectConfiguration interface on the ServerObjectConfiguration specified by name and type. Once you have a reference to the ServerObjectConfiguration, you can get and set its properties, and use it as input the UpdateConfiguration method.

 

See Also

IServerObjectAdmin Interface