AccessControlList.RemovePermissions Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'宣告
Public Function RemovePermissions ( _
descriptor As IdentityDescriptor, _
permissionsToRemove As Integer _
) As AccessControlEntry
public AccessControlEntry RemovePermissions(
IdentityDescriptor descriptor,
int permissionsToRemove
)
public:
AccessControlEntry^ RemovePermissions(
IdentityDescriptor^ descriptor,
int permissionsToRemove
)
member RemovePermissions :
descriptor:IdentityDescriptor *
permissionsToRemove:int -> AccessControlEntry
public function RemovePermissions(
descriptor : IdentityDescriptor,
permissionsToRemove : int
) : AccessControlEntry
Parameters
- descriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
- permissionsToRemove
Type: System.Int32
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControlEntry
.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.