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
- serverContext
Type: Microsoft.Office.Server.ServerContext
Reference to PortalContext object that contains information about this portal site.
- 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.
- AccessRights
Type: Microsoft.Office.Server.Audience.AudienceAccessRights
Element of the AudienceAccessRights enumeration that indicates the level of access to audience information for this portal site.