Interface IServerObjectManager2
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
folderNamestring
Property Value
SystemInfo
The properties of the underlying system hardware and software.
IPropertySet SystemInfo { get; }
Property Value
Methods
CreateServerContext(string, string)
IServerContext CreateServerContext(string configName, string TypeName)
Parameters
Returns
GetConfigurationInfo(string, string)
IServerObjectConfigurationInfo GetConfigurationInfo(string Name, string TypeName)
Parameters
Returns
GetConfigurationInfos()
IEnumServerObjectConfigurationInfo GetConfigurationInfos()
Returns
GetConfigurationInfosEx(string)
An enumerator over all the ArcGIS server's ServerObjectExtensionInfos in a given folder.
IEnumServerObjectConfigurationInfo GetConfigurationInfosEx(string folderName)
Parameters
folderNamestring
Returns
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
Returns
GetExtensionTypeInfos(string)
An enumerator over all the ArcGIS server's ServerObjectExtensionTypeInfos.
IEnumServerObjectExtensionTypeInfo GetExtensionTypeInfos(string SOTypeName)
Parameters
SOTypeNamestring
Returns
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
folderNamestring
Returns
GetServerDirectoryInfos()
IEnumServerDirectoryInfo GetServerDirectoryInfos()
Returns
GetTypeInfos()
IEnumServerObjectTypeInfo GetTypeInfos()