Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ID Property
Collapse the table of content
Expand the table of content

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: Int32
An Int32 value that specifies the database ID value.



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

Community Additions

© 2015 Microsoft