AudienceNameID Class
Represents a synopsis of information about an audience, such as name, globally unique identifier (GUID), and whether the audience is still valid.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.Audience.AudienceNameID
Namespace: Microsoft.Office.Server.Audience
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class AudienceNameID
'Usage
Dim instance As AudienceNameID
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class AudienceNameID
Remarks
AudienceNameID is instantiated and used by the AudienceManager class to create array lists of audience information.
Examples
The following code example shows how to use the AudienceManager object to populate a list of AudienceNameID objects.
AudienceManager AudMgr = new AudienceManager();
AudienceManager.GetAudienceNames(ArrayList AudienceIDList);
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.