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
public IServerObjectConfiguration GetConfiguration (
    string Name,
    string TypeName
HRESULT GetConfiguration(
  BSTR Name,
  BSTR TypeName,
  IServerObjectConfiguration** config


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.


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