Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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 int ID { get; }

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.