DatabaseReplicaState::DatabaseId Property

 

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)

public:
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
property int DatabaseId {
	int get();
}

Property Value

Type: System::Int32

The identifier of the database, unique within an instance of SQL Server.

Return to top
Show: