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 Description
IServerContext Provides access to members for managing a server context, and the objects running within that server context.


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