Freigeben über


ID-Eigenschaft

Gets the database ID value.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Database_IDDesc")> _
<DisplayNameKeyAttribute("Database_IDName")> _
ReadOnly Property ID As Integer
    Get
'Usage
Dim instance As IDatabaseOptions
Dim value As Integer

value = instance.ID
[DisplayDescriptionKeyAttribute("Database_IDDesc")]
[DisplayNameKeyAttribute("Database_IDName")]
int ID { get; }
[DisplayDescriptionKeyAttribute(L"Database_IDDesc")]
[DisplayNameKeyAttribute(L"Database_IDName")]
property int ID {
    int get ();
}
[<DisplayDescriptionKeyAttribute("Database_IDDesc")>]
[<DisplayNameKeyAttribute("Database_IDName")>]
abstract ID : int
function get ID () : int

Eigenschaftswert

Typ: System. . :: . .Int32
An Integer value that uniquely identifies the database.