Returns the AccessControlEntry for the descriptor provided. If no AccessControlEntry exists for the provided descriptor in this AccessControlList then an empty AccessControlEntry will be returned.
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function QueryAccessControlEntry ( _
    descriptor As IdentityDescriptor _
) As AccessControlEntry
public AccessControlEntry QueryAccessControlEntry(
    IdentityDescriptor descriptor
)
public:
AccessControlEntry^ QueryAccessControlEntry(
    IdentityDescriptor^ descriptor
)
member QueryAccessControlEntry : 
        descriptor:IdentityDescriptor -> AccessControlEntry
public function QueryAccessControlEntry(
    descriptor : IdentityDescriptor
) : AccessControlEntry
Parameters
- descriptor 
 Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor- The descriptor to query the AccessControlEntry for. This cannot be null. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.AccessControlEntry
The AccessControlEntry for the descriptor provided. If no AccessControlEntry exists for the provided descriptor in this AccessControlList then an empty AccessControlEntry will be returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.