共用方式為


ISecurityChangedEventHandler.RenameToken 方法

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

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

語法

'宣告
Function RenameToken ( _
    requestContext As TeamFoundationRequestContext, _
    notificationType As NotificationType, _
    existingToken As String, _
    newToken As String, _
    copy As Boolean _
) As Boolean
bool RenameToken(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    string existingToken,
    string newToken,
    bool copy
)

參數

  • existingToken
    型別:System.String
    要重新命名的語彙基元。
  • copy
    型別:System.Boolean
    如果為 true, ACL 會複製到新的位置將舊位置仍保持。

傳回值

型別:System.Boolean
為 True,如果 opertion 應該在這個告知來源的安全性命名空間會繼續進行。

.NET Framework 安全性

請參閱

參考

ISecurityChangedEventHandler 介面

Microsoft.TeamFoundation.Framework.Server 命名空間