مشاركة عبر


IDatabaseOptions.ID Property

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

Property Value

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

See Also

Reference

IDatabaseOptions Interface

Microsoft.SqlServer.Management.Smo Namespace