TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Database::ID Property

 

Gets the database ID value that uniquely identifies the database.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase)]
property int ID {
	virtual int get() sealed;
}

Property Value

Type: System::Int32

An Int32 value that specifies the database ID value.

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

Return to top
Show:
© 2016 Microsoft