Share via


AudienceManager Constructor (ServerContext)

Initializes a new instance of the AudienceManager class that connects to the site in the specified PortalContext object.

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

Syntax

'Declaration
Public Sub New ( _
    serverContext As ServerContext _
)
'Usage
Dim serverContext As ServerContext

Dim instance As New AudienceManager(serverContext)
public AudienceManager(
    ServerContext serverContext
)

Parameters

Remarks

This constructor retrieves the URL and globally unique identifier (GUID) for the current site based on the PortalContext object.

See Also

Reference

AudienceManager Class

AudienceManager Members

AudienceManager Overload

Microsoft.Office.Server.Audience Namespace