共用方式為


PolicyExtender.Categories 屬性

Gets a generic list of PolicyCategory objects.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<ExtendedPropertyAttribute> _
Public ReadOnly Property Categories As List(Of PolicyCategory)
    Get
'用途
Dim instance As PolicyExtender 
Dim value As List(Of PolicyCategory)

value = instance.Categories
[ExtendedPropertyAttribute]
public List<PolicyCategory> Categories { get; }
[ExtendedPropertyAttribute]
public:
property List<PolicyCategory^>^ Categories {
    List<PolicyCategory^>^ get ();
}
[<ExtendedPropertyAttribute>]
member Categories : List<PolicyCategory>
function get Categories () : List<PolicyCategory>

屬性值

型別:System.Collections.Generic.List<PolicyCategory>
A generic list of PolicyCategory objects.

請參閱

參考

PolicyExtender 類別

Microsoft.SqlServer.Management.Dmf 命名空間