Sdílet prostřednictvím


Policy.CategoryId Property

Gets the ID value that uniquely identifies the category that is associated with the policy.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property CategoryId As Integer 
    Get
'Usage
Dim instance As Policy 
Dim value As Integer 

value = instance.CategoryId
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int CategoryId { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int CategoryId {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member CategoryId : int
function get CategoryId () : int

Property Value

Type: System.Int32
An Int32 value that specifies the category ID value.

See Also

Reference

Policy Class

Microsoft.SqlServer.Management.Dmf Namespace