PolicyStore.EnumApplicablePolicyCategories(SfcQueryExpression) 方法

定義

回傳一個唯讀的集合,包含每個政策類別,該類別中每個政策重複使用,若目標訂閱該類別,則會回傳一個旗標,若目標訂閱該類別、該類別中所有資料庫及資料庫後裔政策,以及政策的執行模式。 注意:此方法目前僅適用於資料庫目標。

public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.SqlServer.Management.Dmf.PolicyCategoryInformation> EnumApplicablePolicyCategories(Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression target);
member this.EnumApplicablePolicyCategories : Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.SqlServer.Management.Dmf.PolicyCategoryInformation>
Public Function EnumApplicablePolicyCategories (target As SfcQueryExpression) As ReadOnlyCollection(Of PolicyCategoryInformation)

參數

傳回

適用於