BackupSet.DatabaseGuid 属性
Gets the unique ID of the database where the backup was taken.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public ReadOnly Property DatabaseGuid As Guid
Get
用法
Dim instance As BackupSet
Dim value As Guid
value = instance.DatabaseGuid
public Guid DatabaseGuid { get; }
public:
property Guid DatabaseGuid {
Guid get ();
}
member DatabaseGuid : Guid
function get DatabaseGuid () : Guid
属性值
类型:System.Guid
The database GUID.
注释
When the database is restored, a new GUID value is assigned.