AudienceManager.CurrentServerContext AudienceManager.CurrentServerContext AudienceManager.CurrentServerContext Property

Definition

Warning

This API is now obsolete.

Gets the reference to the SPServiceContext object with which this object was initialized.

public:
 property Microsoft::Office::Server::ServerContext ^ CurrentServerContext { Microsoft::Office::Server::ServerContext ^ get(); };
[System.Obsolete("Use SPServiceContext instead.")]
public Microsoft.Office.Server.ServerContext CurrentServerContext { get; }
Public ReadOnly Property CurrentServerContext As ServerContext
Property Value
Microsoft.Office.Server.ServerContext Microsoft.Office.Server.ServerContext Microsoft.Office.Server.ServerContext

SPServiceContext. Reference to an instance of the SPServiceContext object with which this instance of the AudienceManager object was initialized.

Remarks

The CurrentServerContext property is read-only.

Applies to