مشاركة عبر


Policy.ID Property

Gets the ID value that uniquely identifies the policy.

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

Syntax

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

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

Property Value

Type: System.Int32
An Int32 value that specifies the unique ID value for the policy.

Examples

Setting Properties

See Also

Reference

Policy Class

Microsoft.SqlServer.Management.Dmf Namespace