Export (0) Print
Expand All

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: Guid
The database GUID.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft