PolicyStore.EnumPolicyCategories Método
Returns an enumerated list of policy category information.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: System.Collections.ObjectModel.ReadOnlyCollection<PolicyCategoryInformation>
A PolicyCategoryInformationCollection object that contains a list of policy category information.