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


IAGSServerConnectionAdmin.ServerObjectConfiguration Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GISClient)  

IAGSServerConnectionAdmin.ServerObjectConfiguration Property

The server object configuration with the specified Name and TypeName.

[Visual Basic .NET]
Public Function get_ServerObjectConfiguration ( _
    ByVal Name As String, _
    ByVal Type As String _
) As IServerObjectConfiguration
[C#]
public IServerObjectConfiguration get_ServerObjectConfiguration (
    string Name,
    string Type
);
[C++]
HRESULT get_ServerObjectConfiguration(
  BSTR Name,
  BSTR Type,
  IServerObjectConfiguration** ppObject
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Type [in] Type is a parameter of type BSTR ppObject [out, retval]
ppObject is a parameter of type IServerObjectConfiguration

Product Availability

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

Remarks

The ServerObjectConfiguration property will return the ServerObjectConfiguration for the specified server object and type. The application must be running as a member of the GIS server's administrators group (agadmin) to succesfully get this property.

You can use the ServerObjectNames propety on IAGSServerConnection to get a list of the server objects configured in the server, then use the names and types as inputs to the ServerObjectConfiguration property. Once you have a ServerObjectConfiguration, you can update it, check its status and so on.

See Also

IAGSServerConnectionAdmin Interface