共用方式為


ID 屬性

Gets the database ID value that uniquely identifies the check constraint.

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property ID As Integer
    Get
'用途
Dim instance As Check
Dim value As Integer

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

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the ID value that uniquely identifies the check constraint.

備註

This property corresponds to the check constraint ID value held in the system tables.

範例

設定屬性