Aracılığıyla paylaş


MembershipData.Source Property

Gets or sets the source of members for the member group involved in the membership.

Namespace:  [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx

Syntax

'Declaration
Public Property Source As MembershipSource
    Get
    Set
'Usage
Dim instance As MembershipData
Dim value As MembershipSource

value = instance.Source

instance.Source = value
public MembershipSource Source { get; set; }

Property Value

Type: [UserProfileService Web service].MembershipSource
The source of members for the member group involved in the membership.

Remarks

The source type of a membership can be a distribution list (DL), SharePoint site, or a custom membership source. For more information, see the MembershipSource enumeration.

For more information about memberships, see Memberships Overview. For a code example about how to create a member group and add a member to the newly created group, see How to: Create Memberships.

See Also

Reference

MembershipData Class

MembershipData Members

UserProfileService Web Service