Share via


Audience.GetMembership Method

Gets an ArrayList of UserInfo objects that contains membership information for this audience.

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

Syntax

'Declaration
Public Function GetMembership As ArrayList
'Usage
Dim instance As Audience
Dim returnValue As ArrayList

returnValue = instance.GetMembership()
public ArrayList GetMembership()

Return Value

Type: System.Collections.ArrayList
System.Collections.ArrayList object that represents the list of UserInfo objects that contain membership information.

Remarks

The GetMembership method may also throw an AudienceExecutionException exception containing Microsoft SQL Server errors, if a database error occurs during data retrieval.

See Also

Reference

Audience Class

Audience Members

Microsoft.Office.Server.Audience Namespace