หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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)
Syntax
'Declaration
Public ReadOnly Property DatabaseGuid As Guid
Get
'Usage
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
Property Value
Type: System.Guid
The database GUID.
Remarks
When the database is restored, a new GUID value is assigned.