Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

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

Property Value

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

Community Additions

Show:
© 2015 Microsoft