ArcObjects Library Reference (Server)  

ServerContext Class

The ServerContext object used for working with ArcObjects in the GIS server.

ServerContext is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IServerContext Provides access to members for managing a server context, and the objects running within that server context.

Remarks

A ServerContext is a reserved space within the server dedicated to a set of running objects. GIS server objects also live in a server context. When developing applications with ArcGIS for Server, all ArcObjects that your application creates and uses live within a server context.

This object supports a single interface: IServerContext. You can get at the server object running within a server context using the ServerObject property on IServerContext. IServerContext also contains methods for creating and managing objects running within the ServerContext.

You get a ServerContext by calling the CreateServerContext method on IServerObjectManager.

See Also

IAGSServerObject Interface | IAGSServerConnection Interface | IAGSServerConnectionFactory Interface | IAGSServerObjectName Interface | IAGSServerConnectionAdmin Interface | IAGSServerConnectionName Interface | AGSServerConnectionFactory Class | IAGSEnumServerObjectName Interface | AGSServerConnection Class | AGSServerObjectName Class | AGSServerConnectionName Class | IEnumServerObjectConfiguration Interface | IServerContext Interface | IServerObjectType Interface | IServerObjectAdmin Interface | IEnumServerObjectType Interface | IGISServerConnection Interface | IServerObjectConfiguration Interface | IServerObject Interface | IServerObjectTypeInfo Interface | IServerObjectConfigurationInfo Interface | IEnumServerObjectTypeInfo Interface | IEnumServerObjectConfigurationInfo Interface | GISServerConnection Class | IServerObjectManager Interface | ServerContext Class | ServerDirectory Class | ServerDirectoryInfo Class | ServerMachine Class | ServerObject Class | ServerObjectAdmin Class | IEnumServerMachine Interface | IServerMachine Interface | IEnumServerDirectory Interface | ServerObjectConfiguration Class | ServerObjectConfigurationInfo Class | ServerObjectConfigurationStatus Class | ServerObjectManager Class | ServerObjectTypeInfo Class | ServerObjectType Class | IServerObjectAdmin Interface | IServerObject Interface | IGISServerConnection Interface | IServerContext Interface | GISServerConnection Class | IServerObjectManager Interface