ArcObjects Library Reference  (Server)    

IGISServerConnection.ServerObjectAdmin Property

The server object admin for the connected GIS server.

[Visual Basic 6.0]
Property ServerObjectAdmin As IServerObjectAdmin
[Visual Basic .NET]
Public ReadOnly Property ServerObjectAdmin As IServerObjectAdmin
[C#]
public IServerObjectAdmin ServerObjectAdmin {get;}
[Java]
public IServerObjectAdmin getServerObjectAdmin()
throws
    IOException,
    AutomationException
[C++]
HRESULT get_ServerObjectAdmin(
  IServerObjectAdmin** admin
);
[C++]

Parameters

admin [out, retval]

  admin is a parameter of type IServerObjectAdmin

Product Availability

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

Remarks

The ServerObjectAdmin property returns a reference to the ServerObjectAdmin of the ArcGIS Server. The user account running the application must be a member of the agsadmin user group on the ArcGIS Server, to get a reference on the ServerObjectAdmin. If the user account running the application is not in the agsadmin user group, the ServerObjectAdmin property will return and error.

The ServerObjectAdmin provides methods for managing server object configurations, server object types and the machines that host sever objects in the ArcGIS Server.

See Also

IGISServerConnection Interface

Example

IGISServerConnection ServerObjectAdmin Example