Свойство DatabaseReplicaState.DatabaseId
Gets the identifier of the database, unique within an instance of SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property DatabaseId As Integer
Get
'Применение
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
Значение свойства
Тип: System.Int32
The identifier of the database, unique within an instance of SQL Server.