Metodo EnumPolicyCategories
Returns an enumerated list of policy category information.
Spazio dei nomi Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Sintassi
'Dichiarazione
Public Function EnumPolicyCategories As ReadOnlyCollection(Of PolicyCategoryInformation)
'Utilizzo
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>
Valore restituito
Tipo: System.Collections.ObjectModel. . :: . .ReadOnlyCollection< (Of < ( <'PolicyCategoryInformation> ) > ) >
A PolicyCategoryInformationCollection object that contains a list of policy category information.