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


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


<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class AudienceNameID
Dim instance As AudienceNameID
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class AudienceNameID


AudienceNameID is instantiated and used by the AudienceManager class to create array lists of audience information.


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.

See Also


AudienceNameID Members

Microsoft.Office.Server.Audience Namespace