com.esri.arcgis.server
Interface IServerObjectManager2

All Superinterfaces:
IServerObjectManager, Serializable
All Known Subinterfaces:
IServerObjectManager3, IServerObjectManager4
All Known Implementing Classes:
IServerObjectManager2Proxy, IServerObjectManager3Proxy, IServerObjectManager4Proxy, ServerObjectManager

public interface IServerObjectManager2
extends IServerObjectManager, Serializable

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

Description

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.

Product Availability

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


Method Summary
 IEnumServerObjectConfigurationInfo getConfigurationInfosEx(String folderName)
          An enumerator over all the ArcGIS server's ServerObjectExtensionInfos in a given folder.
 IServerObjectConfigurationStatus getConfigurationStatus(String name, String typeName)
          Get the configuration status for a server object configuration with the specified Name and TypeName.
 IEnumServerObjectExtensionTypeInfo getExtensionTypeInfos(String sOTypeName)
          An enumerator over all the ArcGIS server's ServerObjectExtensionTypeInfos.
 IPropertySet getFolderInfo(String folderName)
          Properties associated with a server configuration folder.
 IEnumBSTR getFolders(String folderName)
          An array of folder names in the server configuration folder.
 IPropertySet getSystemInfo()
          The properties of the underlying system hardware and software.
 
Methods inherited from interface com.esri.arcgis.server.IServerObjectManager
createServerContext, getConfigurationInfo, getConfigurationInfos, getServerDirectoryInfos, getTypeInfos
 

Method Detail

getSystemInfo

IPropertySet getSystemInfo()
                           throws IOException,
                                  AutomationException
The properties of the underlying system hardware and software.

Description

The SystemInfo property returns a PropertySet containing properties indicating the operating system name and messaeg version of the GIS server.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionTypeInfos

IEnumServerObjectExtensionTypeInfo getExtensionTypeInfos(String sOTypeName)
                                                         throws IOException,
                                                                AutomationException
An enumerator over all the ArcGIS server's ServerObjectExtensionTypeInfos.

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.

Product Availability

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

Parameters:
sOTypeName - The sOTypeName (in)
Returns:
A reference to a com.esri.arcgis.server.IEnumServerObjectExtensionTypeInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfigurationInfosEx

IEnumServerObjectConfigurationInfo getConfigurationInfosEx(String folderName)
                                                           throws IOException,
                                                                  AutomationException
An enumerator over all the ArcGIS server's ServerObjectExtensionInfos in a given folder.

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”

Product Availability

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

Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.server.IEnumServerObjectConfigurationInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFolders

IEnumBSTR getFolders(String folderName)
                     throws IOException,
                            AutomationException
An array of folder names in the server configuration folder.

Product Availability

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

Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFolderInfo

IPropertySet getFolderInfo(String folderName)
                           throws IOException,
                                  AutomationException
Properties associated with a server configuration folder.

Product Availability

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

Parameters:
folderName - The folderName (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfigurationStatus

IServerObjectConfigurationStatus getConfigurationStatus(String name,
                                                        String typeName)
                                                        throws IOException,
                                                               AutomationException
Get the configuration status for a server object configuration with the specified Name and TypeName.

Product Availability

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

Parameters:
name - The name (in)
typeName - The typeName (in)
Returns:
A reference to a com.esri.arcgis.server.IServerObjectConfigurationStatus
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.