共用方式為


TeamFoundationIdentity.MembersSet Property

IdentityDescriptors for members of this identity.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<ClientPropertyAttribute(PropertyName := "Members")> _
Public Property MembersSet As IdentityDescriptor()
[ClientPropertyAttribute(PropertyName = "Members")]
public IdentityDescriptor[] MembersSet { get; set; }
[ClientPropertyAttribute(PropertyName = L"Members")]
public:
property array<IdentityDescriptor^>^ MembersSet {
    array<IdentityDescriptor^>^ get ();
    void set (array<IdentityDescriptor^>^ value);
}
[<ClientPropertyAttribute(PropertyName = "Members")>]
member MembersSet : IdentityDescriptor[] with get, set
function get MembersSet () : IdentityDescriptor[]
function set MembersSet (value : IdentityDescriptor[])

Property Value

Type: array<Microsoft.VisualStudio.Services.Identity.IdentityDescriptor[]
Returns IdentityDescriptor.

Remarks

The identity must be read with MembershipQuery.Direct or MembershipQuery.Expanded for this collection to be populated. If MembershipQuery.None is used or the identity is not a group, the collection will be empty.

.NET Framework Security

See Also

Reference

TeamFoundationIdentity Class

Microsoft.TeamFoundation.Server.Core Namespace