다음을 통해 공유


MembershipManager.GetItems Method (Privacy, MembershipSortType)

Returns the user profile memberships with a specified privacy level and sorting.

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

Syntax

'Declaration
Public Function GetItems ( _
    privacyLevel As Privacy, _
    sortType As MembershipSortType _
) As Membership()
'Usage
Dim instance As MembershipManager
Dim privacyLevel As Privacy
Dim sortType As MembershipSortType
Dim returnValue As Membership()

returnValue = instance.GetItems(privacyLevel, _
    sortType)
public Membership[] GetItems(
    Privacy privacyLevel,
    MembershipSortType sortType
)

Parameters

Return Value

Type: []
An array of Membership objects that represent the memberships.

See Also

Reference

MembershipManager Class

MembershipManager Members

GetItems Overload

Microsoft.Office.Server.UserProfiles Namespace