Delen via


PolicyCategory.ID Property

Gets the ID value that uniquely identifies the policy category.

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

Syntax

'Declaration
<SfcPropertyAttribute(Data := True, Required := False)> _
Public ReadOnly Property ID As Integer 
    Get
'Usage
Dim instance As PolicyCategory 
Dim value As Integer 

value = instance.ID
[SfcPropertyAttribute(Data = true, Required = false)]
public int ID { get; }
[SfcPropertyAttribute(Data = true, Required = false)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(Data = true, Required = false)>]
member ID : int
function get ID () : int

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

PolicyCategory Class

Microsoft.SqlServer.Management.Dmf Namespace