ArcObjects Library Reference (Server)  

IServerObjectConfiguration2 Interface

Provides access to administrators to members that control the behavior and properties of a server object configuration with extensions.

Product Availability

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

Members

Description
Read/write property CleanupTimeout Maximum time (in seconds) that a SOC process will remain active to allow its no longer used server object threads to shut down gracefully before terminating them.
Read/write property Description Description of the server object configuration.
Method Deserialize Deserializes the server object configuration from a string.
Read/write property ExtensionEnabled Indicates whether the state of the named extension is Enabled (true) or Disabled (false).
Read/write property ExtensionInfo The extension-dependent info for the server object configuration.
Read/write property ExtensionProperties The extension-dependent properties for the server object configuration.
Read/write property Info Auxiliary Information for the server objects created by the server object configuration passive properties only.
Read/write property IsolationLevel The isolation level of the server objects defined by the server object configuration.
Read/write property IsPooled Indicates whether the server objects defined by this configuration are pooled.
Read/write property MaxInstances The maximum number of server object instances for a server object configuration.
Read/write property MinInstances The minimum number of server object instances for a server object configuration.
Read/write property Name Name of the server object configuration.
Read/write property Properties Initialization parameters and properties for the server objects created by the server object configuration.
Read/write property RecycleProperties The recycling properties for the server object configuration.
Method Serialize Serializes the server object configuration into a string.
Read/write property StartupTimeout Maximum time (in seconds) that a SOC process will wait for an instance of a server object to start.
Read/write property StartupType The startup type for this server object configuration. Startup type describes whether the server object configuration is started when the server object manager service is started for the GIS server.
Read/write property TypeName Type of the server object configuration (MapServer or GeocodeServer).
Read/write property UsageTimeout Maximum time (in seconds) a client can hold onto an instance of a server object for this server object configuration before releasing it back to the server. It is the maximum time allowed between calling CreateServerContext and ReleaseServerContext.
Read/write property WaitTimeout Maximum time (in seconds) a client will wait for an instance of a server object for this server object configuration using the CreateServerContext method on IServerObjectManager before timing out.

Inherited Interfaces

Interfaces Description
IServerObjectConfiguration Provides access to administrators to members that control the behavior and properties of a server object configuration.

CoClasses that implement IServerObjectConfiguration2

CoClasses and Classes Description
ServerObjectConfiguration The ServerObjectConfiguration object which defines the properties and behavior for server objects running in the GIS server.

Remarks

IServerObjectConfiguration2 extends IServerObjectConfiguration with properties for managing the server object configuration's extensions.

Set the ExtensionEnabled property to true for the server object extensions you want to enable for this configuration. A list of the server object extensions installed on the GIS server for each server object type are available via IServerObjectManager2::GetExtensionTypeInfos.

Use the ExtensionProperties property to specify the collection of properties for a server object extension.

The Serialize and Deserialize methods allow you to save the server object configuration as a string, and restore it from a string. This can be useful when copying server object configurations between two GIS servers.

 

See Also

IServerObjectExtensionManager Interface