共用方式為


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.UserProfiles (in Microsoft.Office.Server.UserProfiles.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
An 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