Database.ID Database.ID Database.ID Property

Definition

Gets the database ID value that uniquely identifies the database.

public:
 property int ID { int get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase)]
public int ID { get; }
Public ReadOnly Property ID As Integer
Property Value

An Int32 value that specifies the database ID value.

Implements
ID

Remarks

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

Applies to