BackupSet.DatabaseGuid Property

 

Gets the unique ID of the database where the backup was taken.

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

public Guid DatabaseGuid { get; }

Property Value

Type: System.Guid

The database GUID.

When the database is restored, a new GUID value is assigned.

Return to top
Show: