ID propriété

Gets the database ID value that uniquely identifies the database.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property ID As Integer
    Get
'Utilisation
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

Valeur de la propriété

Type : System. . :: . .Int32
An Int32 value that specifies the database ID value.

Implémente

IDatabaseOptions. . :: . .ID

Notes

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