ID 属性

Gets the database ID value that uniquely identifies the database.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public ReadOnly Property ID As Integer
    Get
用法
Dim instance As Database
Dim value As Integer

value = instance.ID
[SfcPropertyAttribute]
public int ID { get; }
[SfcPropertyAttribute]
public:
virtual property int ID {
    int get () sealed;
}
[<SfcPropertyAttribute>]
abstract ID : int
[<SfcPropertyAttribute>]
override ID : int
final function get ID () : int

属性值

类型:System. . :: . .Int32
An Int32 value that specifies the database ID value.

实现

IDatabaseOptions. . :: . .ID

注释

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