Método PolicyStore.EnumPolicyCategories
Returns an enumerated list of policy category information.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Public Function EnumPolicyCategories As ReadOnlyCollection(Of PolicyCategoryInformation)
'Uso
Dim instance As PolicyStore
Dim returnValue As ReadOnlyCollection(Of PolicyCategoryInformation)
returnValue = instance.EnumPolicyCategories()
public ReadOnlyCollection<PolicyCategoryInformation> EnumPolicyCategories()
public:
ReadOnlyCollection<PolicyCategoryInformation^>^ EnumPolicyCategories()
member EnumPolicyCategories : unit -> ReadOnlyCollection<PolicyCategoryInformation>
public function EnumPolicyCategories() : ReadOnlyCollection<PolicyCategoryInformation>
Valor de retorno
Tipo: System.Collections.ObjectModel.ReadOnlyCollection<PolicyCategoryInformation>
A PolicyCategoryInformationCollection object that contains a list of policy category information.