ArcObjects Library Reference (Server)  

IServerContext.ServerObject Property

The map or geocode server object running in the server context.

[Visual Basic .NET]
Public ReadOnly Property ServerObject As IServerObject
public IServerObject ServerObject {get;}
HRESULT get_ServerObject(
  IServerObject** obj


obj [out, retval]

  obj is a parameter of type IServerObject

Product Availability

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


The ServerObject property of a server context returns the server object that is running withing the server context. If you use the CreateServerContext method on IServerObjectManager to create a a server context based on a server object configuration, use the ServerObjectProperty to get a reference to the server object that is running within that context.

See Also

IServerContext Interface