Méthode PolicyStore.EnumApplicablePolicyCategories
Enumerates conditions specified by an SfcQueryExpression object.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Function EnumApplicablePolicyCategories ( _
target As SfcQueryExpression _
) As ReadOnlyCollection(Of PolicyCategoryInformation)
'Utilisation
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>
Paramètres
- target
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression
An SfcQueryExpression object.
Valeur de retour
Type : System.Collections.ObjectModel.ReadOnlyCollection<PolicyCategoryInformation>
A generic ReadOnlyCollection of PolicyCategoryInformation objects.