共用方式為


ISecurityChangedEventHandler.RemovePermissions 方法 (TeamFoundationRequestContext, NotificationType, String, IEnumerable<IdentityDescriptor>)

允許實作器覆寫,封鎖或接聽 RemovePermissions 呼叫。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Function RemovePermissions ( _
    requestContext As TeamFoundationRequestContext, _
    notificationType As NotificationType, _
    token As String, _
    identities As IEnumerable(Of IdentityDescriptor) _
) As Boolean
bool RemovePermissions(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    string token,
    IEnumerable<IdentityDescriptor> identities
)

參數

  • token
    型別:System.String
    這個識別具有使用權限的語彙基元。

傳回值

型別:System.Boolean
則為 true,則作業應該在這個告知來源的安全性命名空間會繼續進行。

.NET Framework 安全性

請參閱

參考

ISecurityChangedEventHandler 介面

RemovePermissions 多載

Microsoft.TeamFoundation.Framework.Server 命名空間