Share via


AudienceSiteInfo Constructor

Initializes a new instance of the AudienceSiteInfo class with the specified access rights and a reference to a Microsoft.Office.Server.ServerContext object that represents the current portal site.

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

Syntax

'Declaration
Public Sub New ( _
    serverContext As ServerContext, _
    bCentral As Boolean, _
    bPublic As Boolean, _
    AccessRights As AudienceAccessRights _
)
'Usage
Dim serverContext As ServerContext
Dim bCentral As Boolean
Dim bPublic As Boolean
Dim AccessRights As AudienceAccessRights

Dim instance As New AudienceSiteInfo(serverContext, _
    bCentral, bPublic, AccessRights)
public AudienceSiteInfo(
    ServerContext serverContext,
    bool bCentral,
    bool bPublic,
    AudienceAccessRights AccessRights
)

Parameters

  • bCentral
    Type: System.Boolean
    true indicates audience information is stored in a central location; otherwise, false.
  • bPublic
    Type: System.Boolean
    true indicates audience information for this site is available to other portal sites; otherwise, false.

See Also

Reference

AudienceSiteInfo Class

AudienceSiteInfo Members

Microsoft.Office.Server.Audience Namespace