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)

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.

Community Additions

ADD
Show: