PolicyStore.EnumApplicablePolicyCategories(SfcQueryExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個唯讀的集合,包含每個政策類別,該類別中每個政策重複使用,若目標訂閱該類別,則會回傳一個旗標,若目標訂閱該類別、該類別中所有資料庫及資料庫後裔政策,以及政策的執行模式。 注意:此方法目前僅適用於資料庫目標。
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)
參數
- target
- SfcQueryExpression