共用方式為


TeamFoundationSecurityService.GetSecurityNamespaces 方法

傳回所有的列舉目前現有的安全性 [securityNamespaces]。

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

語法

'宣告
Public Function GetSecurityNamespaces ( _
    requestContext As TeamFoundationRequestContext _
) As IEnumerable(Of TeamFoundationSecurityNamespace)
public IEnumerable<TeamFoundationSecurityNamespace> GetSecurityNamespaces(
    TeamFoundationRequestContext requestContext
)

參數

傳回值

型別:System.Collections.Generic.IEnumerable<TeamFoundationSecurityNamespace>
傳回 IEnumerable<T>

實作

ITeamFoundationSecurityService.GetSecurityNamespaces(TeamFoundationRequestContext)

.NET Framework 安全性

請參閱

參考

TeamFoundationSecurityService 類別

Microsoft.TeamFoundation.Framework.Server 命名空間