Compartilhar via


MembershipManager.GetItems method (Privacy, MembershipSortType)

Retorna o usuário associações de perfil com uma privacidade especificada nível e classificação.

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

Syntax

'Declaração
Public Function GetItems ( _
    privacyLevel As Privacy, _
    sortType As MembershipSortType _
) As Membership()
'Uso
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
)

Parâmetros

Valor retornado

Type: []
Uma matriz de objetos Membership que representam as associações.

Ver também

Referência

MembershipManager class

MembershipManager members

GetItems overload

Microsoft.Office.Server.UserProfiles namespace