共用方式為


AvailableDatabaseCategories.GetCategories 方法

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

語法

'宣告
Public Shared Function GetCategories ( _
    connectionString As String, _
    includeBackCompatCategories As Boolean _
) As HashSet(Of String)
public static HashSet<string> GetCategories(
    string connectionString,
    bool includeBackCompatCategories
)

參數

傳回值

類型:System.Collections.Generic.HashSet<String>

.NET Framework 安全性

請參閱

參考

AvailableDatabaseCategories 類別

Microsoft.TeamFoundation.Framework.Server 命名空間