다음을 통해 공유


AudienceManager.CurrentServerContext Property

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPServiceContext instead.")> _
Public ReadOnly Property CurrentServerContext As ServerContext
    Get
'Usage
Dim instance As AudienceManager
Dim value As ServerContext

value = instance.CurrentServerContext
[ObsoleteAttribute("Use SPServiceContext instead.")]
public ServerContext CurrentServerContext { get; }

Property Value

Type: 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.

See Also

Reference

AudienceManager Class

AudienceManager Members

Microsoft.Office.Server.Audience Namespace