GetAudience(System.Guid) Method
The GetAudience method of the AudienceManager class gets an instance of the Audience object that represents the audience with the specified globally unique identifier (GUID).
Parameters
AudienceID GUID for an audience.
Return Value
Microsoft.SharePoint.Portal.Audience.Audience Instance of the Audience object that represents the audience with the specified GUID. Otherwise, null if the audience was not found or cannot be displayed within the current site.
Remarks
The GetAudience method provides a way to access an Audience object assuming this audience is viewable from within the current site.
Example
The following code example shows how to get an Audience object by GUID and display basic information about that audience.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security
Related Topics
AudienceManager | Microsoft.SharePoint.Portal.Audience Namespace