ArcObjects Library Reference (Server)  

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

Parameters

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

  config is a parameter of type IServerObjectConfiguration

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

.NET Related Topics

Server |