다음을 통해 공유


MemberGroup.SourceReference Property

Gets or sets the membership source unique reference for the member group.

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

Syntax

'Declaration
Public Property SourceReference As String
    Get
    Set
'Usage
Dim instance As MemberGroup
Dim value As String

value = instance.SourceReference

instance.SourceReference = value
public string SourceReference { get; set; }

Property Value

Type: System.String
The source unique reference for a member group.

Remarks

The SourceReference property is used by the membership source to uniquely reference the group. For example, the membership source unique reference for Microsoft Active Directory is the distinguished name, and for SharePoint sites, it is the ID.

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

For more information about types of membership groups, 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

MemberGroup Class

MemberGroup Members

Microsoft.Office.Server.UserProfiles Namespace