Condividi tramite


Metodo EnumApplicablePolicyCategories

Enumerates conditions specified by an SfcQueryExpression object.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Public Function EnumApplicablePolicyCategories ( _
    target As SfcQueryExpression _
) As ReadOnlyCollection(Of PolicyCategoryInformation)
'Utilizzo
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>

Valore restituito

Tipo: System.Collections.ObjectModel. . :: . .ReadOnlyCollection< (Of < ( <'PolicyCategoryInformation> ) > ) >
A generic ReadOnlyCollection of PolicyCategoryInformation objects.