Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Gets the identifier of the database, unique within an instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property DatabaseId As Integer
Get
'Usage
Dim instance As DatabaseReplicaState
Dim value As Integer
value = instance.DatabaseId
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int DatabaseId { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int DatabaseId {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member DatabaseId : int
function get DatabaseId () : int
Property Value
Type: System.Int32
The identifier of the database, unique within an instance of SQL Server.