IRESTServerObjectAdmin Interface

Provides access to methods adminstrating AGS rest services.

Members

Name Description
Read-only property AdminVersion Returns the version of the server's admin API.
Method GetConfigurationInfos The configuration infos within a folder (use empty string for root).
Method GetItemInfo The ItemInfo of a service.
Method GetMetadata The metadata of a service.
Method PutItemInfo Add or update the ItemInfo of a service.
Method PutMetadata Add or update the metadata of a service.

IRESTServerObjectAdmin.AdminVersion Property

Returns the version of the server's admin API.

Public ReadOnly Property AdminVersion As Double
public double AdminVersion {get;}

IRESTServerObjectAdmin.GetConfigurationInfos Method

The configuration infos within a folder (use empty string for root).

Public Function GetConfigurationInfos ( _
    ByVal FolderName As String _
) As IEnumServerObjectConfigurationInfo
public IEnumServerObjectConfigurationInfo GetConfigurationInfos (
    string FolderName
);

IRESTServerObjectAdmin.GetItemInfo Method

The ItemInfo of a service.

Public Function GetItemInfo ( _
    ByVal Name As String, _
    ByVal Type As String, _
    ByVal soeType As String _
) As IItemInfo
public IItemInfo GetItemInfo (
    string Name,
    string Type,
    string soeType
);

IRESTServerObjectAdmin.GetMetadata Method

The metadata of a service.

Public Function GetMetadata ( _
    ByVal Name As String, _
    ByVal Type As String, _
    ByVal soeType As String _
) As IPropertySet
public IPropertySet GetMetadata (
    string Name,
    string Type,
    string soeType
);

IRESTServerObjectAdmin.PutItemInfo Method

Add or update the ItemInfo of a service.

Public Sub PutItemInfo ( _
    ByVal Name As String, _
    ByVal Type As String, _
    ByVal soeType As String, _
    ByVal pItemInfo As IItemInfo _
)
public void PutItemInfo (
    string Name,
    string Type,
    string soeType,
    IItemInfo pItemInfo
);

IRESTServerObjectAdmin.PutMetadata Method

Add or update the metadata of a service.

Public Sub PutMetadata ( _
    ByVal Name As String, _
    ByVal Type As String, _
    ByVal soeType As String, _
    ByVal pMetadata As IPropertySet _
)
public void PutMetadata (
    string Name,
    string Type,
    string soeType,
    IPropertySet pMetadata
);

Classes that implement IRESTServerObjectAdmin

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.