共用方式為


PolicyExtender.Category 屬性

Gets or sets a PolicyCategory object.

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

語法

'宣告
<ExtendedPropertyAttribute("PolicyCategory")> _
Public Property Category As PolicyCategory 
    Get 
    Set
'用途
Dim instance As PolicyExtender 
Dim value As PolicyCategory 

value = instance.Category

instance.Category = value
[ExtendedPropertyAttribute("PolicyCategory")]
public PolicyCategory Category { get; set; }
[ExtendedPropertyAttribute(L"PolicyCategory")]
public:
property PolicyCategory^ Category {
    PolicyCategory^ get ();
    void set (PolicyCategory^ value);
}
[<ExtendedPropertyAttribute("PolicyCategory")>]
member Category : PolicyCategory with get, set
function get Category () : PolicyCategory 
function set Category (value : PolicyCategory)

屬性值

型別:Microsoft.SqlServer.Management.Dmf.PolicyCategory
A PolicyCategory object.

請參閱

參考

PolicyExtender 類別

Microsoft.SqlServer.Management.Dmf 命名空間