This document is archived and information here might be outdated.  Recommended version.


ServerContext Class (ArcObjects .NET 10.4 SDK)
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

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