EnumApplicablePolicyCategories 方法
Enumerates conditions specified by an SfcQueryExpression object.
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
Public Function EnumApplicablePolicyCategories ( _
target As SfcQueryExpression _
) As ReadOnlyCollection(Of PolicyCategoryInformation)
用法
Dim instance As PolicyStore
Dim target As SfcQueryExpression
Dim returnValue As ReadOnlyCollection(Of PolicyCategoryInformation)
returnValue = instance.EnumApplicablePolicyCategories(target)
public ReadOnlyCollection<PolicyCategoryInformation> EnumApplicablePolicyCategories(
SfcQueryExpression target
)
public:
ReadOnlyCollection<PolicyCategoryInformation^>^ EnumApplicablePolicyCategories(
SfcQueryExpression^ target
)
member EnumApplicablePolicyCategories :
target:SfcQueryExpression -> ReadOnlyCollection<PolicyCategoryInformation>
public function EnumApplicablePolicyCategories(
target : SfcQueryExpression
) : ReadOnlyCollection<PolicyCategoryInformation>
参数
- target
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcQueryExpression
An SfcQueryExpression object.
返回值
类型:System.Collections.ObjectModel. . :: . .ReadOnlyCollection< (Of < ( <'PolicyCategoryInformation> ) > ) >
A generic ReadOnlyCollection of PolicyCategoryInformation objects.