共用方式為


EnumApplicablePolicies 方法

Enumerates policy items specified by an SfcQueryExpression object.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Function EnumApplicablePolicies ( _
    target As SfcQueryExpression _
) As DataTable
'用途
Dim instance As PolicyStore
Dim target As SfcQueryExpression
Dim returnValue As DataTable

returnValue = instance.EnumApplicablePolicies(target)
public DataTable EnumApplicablePolicies(
    SfcQueryExpression target
)
public:
DataTable^ EnumApplicablePolicies(
    SfcQueryExpression^ target
)
member EnumApplicablePolicies : 
        target:SfcQueryExpression -> DataTable 
public function EnumApplicablePolicies(
    target : SfcQueryExpression
) : DataTable

傳回值

型別:System.Data. . :: . .DataTable
A DataTable object of policy items.