MembershipManager.GetDataSet Method (Privacy, MembershipSortType)
Returns a dataset of 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 GetDataSet ( _
privacyLevel As Privacy, _
sortType As MembershipSortType _
) As DataSet
'Usage
Dim instance As MembershipManager
Dim privacyLevel As Privacy
Dim sortType As MembershipSortType
Dim returnValue As DataSet
returnValue = instance.GetDataSet(privacyLevel, _
sortType)
public DataSet GetDataSet(
Privacy privacyLevel,
MembershipSortType sortType
)
Parameters
privacyLevel
Type: Microsoft.Office.Server.UserProfiles.PrivacyA Privacy value that specifies the privacy level of the memberships.
sortType
Type: Microsoft.Office.Server.UserProfiles.MembershipSortTypeA MembershipSortType value that specifies how to sort the memberships.
Return Value
Type: System.Data.DataSet
An object that represents the dataset.