Interface IServerObjectManager2

Namespace
ESRI.ArcGIS.Server
Assembly
ESRI.Server.Server.dll

Provides access to properties and members of the ArcGIS server's server object manager for server object extensions.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("2E3707F3-DAE3-45BA-AC15-47EF7EC69946")]
public interface IServerObjectManager2 : IServerObjectManager

Remarks

IServerObjectManager2 provides a method to retrieve an enumeration of server object extension types through IExtensionTypeInfos.  The IServerObjectExtensionTypeInfo interface provides the name and description of a server object extension type.

IServerObjectManager2 also provides access to properties of the GIS server's sytem configuration, such as it operating sytem type.

This interface can be obtained by a query interface with IServerObjectManager.

Properties

FolderInfo[string]

Properties associated with a server configuration folder.

IPropertySet FolderInfo[string folderName] { get; }

Parameters

folderName string

Property Value

IPropertySet

SystemInfo

The properties of the underlying system hardware and software.

IPropertySet SystemInfo { get; }

Property Value

IPropertySet

Methods

CreateServerContext(string, string)

IServerContext CreateServerContext(string configName, string TypeName)

Parameters

configName string
TypeName string

Returns

IServerContext

GetConfigurationInfo(string, string)

IServerObjectConfigurationInfo GetConfigurationInfo(string Name, string TypeName)

Parameters

Name string
TypeName string

Returns

IServerObjectConfigurationInfo

GetConfigurationInfos()

IEnumServerObjectConfigurationInfo GetConfigurationInfos()

Returns

IEnumServerObjectConfigurationInfo

GetConfigurationInfosEx(string)

An enumerator over all the ArcGIS server's ServerObjectExtensionInfos in a given folder.

IEnumServerObjectConfigurationInfo GetConfigurationInfosEx(string folderName)

Parameters

folderName string

Returns

IEnumServerObjectConfigurationInfo

Remarks

GetConfigurationInfosEx returns an enumeration (IEnumServerObjectConfigurationInfo) of IServerObjectConfigurationInfo for configurations of any esriConfigurationStatus from the folder specified.

 

Some folderNames have special significance:

         folderName == “” means “root”.

         folderName == “NULL” means “all folders and root”

GetConfigurationStatus(string, string)

Get the configuration status for a server object configuration with the specified Name and TypeName.

IServerObjectConfigurationStatus GetConfigurationStatus(string Name, string TypeName)

Parameters

Name string
TypeName string

Returns

IServerObjectConfigurationStatus

GetExtensionTypeInfos(string)

An enumerator over all the ArcGIS server's ServerObjectExtensionTypeInfos.

IEnumServerObjectExtensionTypeInfo GetExtensionTypeInfos(string SOTypeName)

Parameters

SOTypeName string

Returns

IEnumServerObjectExtensionTypeInfo

Remarks

Retrieves an enumeration of IServerObjectTypeInfos from the ArcGIS Server system configuration (Server.cfg).  The IServerObjectTypeInfo interface provides the name and description of a server object type.

GetFolders(string)

An array of folder names in the server configuration folder.

IEnumBSTR GetFolders(string folderName)

Parameters

folderName string

Returns

IEnumBSTR

GetServerDirectoryInfos()

IEnumServerDirectoryInfo GetServerDirectoryInfos()

Returns

IEnumServerDirectoryInfo

GetTypeInfos()

IEnumServerObjectTypeInfo GetTypeInfos()

Returns

IEnumServerObjectTypeInfo