다음을 통해 공유


ID 속성

Gets the database ID value that uniquely identifies the database.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.