共用方式為


TeamFoundationIdentity.Members Property

IdentityDescriptors for members of this identity.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

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

Property Value

Type: array<Microsoft.TeamFoundation.Framework.Client.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.Framework.Client Namespace