Delen via


PolicyExtender.Category Property

Gets or sets a PolicyCategory object.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<ExtendedPropertyAttribute("PolicyCategory")> _
Public Property Category As PolicyCategory
    Get
    Set
'Usage
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)