Compartilhar via


Método PolicyStore.EnumApplicablePolicyCategories

Enumerates conditions specified by an SfcQueryExpression object.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
Public Function EnumApplicablePolicyCategories ( _
    target As SfcQueryExpression _
) As ReadOnlyCollection(Of PolicyCategoryInformation)
'Uso
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>

Parâmetros

Valor de retorno

Tipo: System.Collections.ObjectModel.ReadOnlyCollection<PolicyCategoryInformation>
A generic ReadOnlyCollection of PolicyCategoryInformation objects.

Consulte também

Referência

PolicyStore Classe

Namespace Microsoft.SqlServer.Management.Dmf