Share via


MembershipManager.Create Method

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

Syntax

'Declaration
Public Function Create ( _
    memberGroup As MemberGroup, _
    groupType As MembershipGroupType, _
    groupName As String, _
    privacyLevel As Privacy _
) As Membership
'Usage
Dim instance As MembershipManager
Dim memberGroup As MemberGroup
Dim groupType As MembershipGroupType
Dim groupName As String
Dim privacyLevel As Privacy
Dim returnValue As Membership

returnValue = instance.Create(memberGroup, _
    groupType, groupName, privacyLevel)
public Membership Create(
    MemberGroup memberGroup,
    MembershipGroupType groupType,
    string groupName,
    Privacy privacyLevel
)

Parameters

Return Value

Type: Microsoft.Office.Server.UserProfiles.Membership

See Also

Reference

MembershipManager Class

MembershipManager Members

Microsoft.Office.Server.UserProfiles Namespace