FullPermissionSetForwarderBase.RemovePermissions 方法 (TeamFoundationRequestContext, NotificationType, String, IdentityDescriptor, Int32)
從對應的目錄節點移除目錄的使用權限。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Overridable Function RemovePermissions ( _
requestContext As TeamFoundationRequestContext, _
notificationType As NotificationType, _
sourceToken As String, _
descriptor As IdentityDescriptor, _
permissionsToRemove As Integer _
) As Boolean
public virtual bool RemovePermissions(
TeamFoundationRequestContext requestContext,
NotificationType notificationType,
string sourceToken,
IdentityDescriptor descriptor,
int permissionsToRemove
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- notificationType
類型:Microsoft.TeamFoundation.Framework.Server.NotificationType
- sourceToken
類型:System.String
- permissionsToRemove
類型:System.Int32
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。