共用方式為


IDatabaseMaintenanceFacet.LastBackupDate 屬性

Gets a date and time for the last database backup.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_LastBackupDateDesc")> _
<DisplayNameKeyAttribute("Database_LastBackupDateName")> _
ReadOnly Property LastBackupDate As DateTime 
    Get
'用途
Dim instance As IDatabaseMaintenanceFacet 
Dim value As DateTime 

value = instance.LastBackupDate
[DisplayDescriptionKeyAttribute("Database_LastBackupDateDesc")]
[DisplayNameKeyAttribute("Database_LastBackupDateName")]
DateTime LastBackupDate { get; }
[DisplayDescriptionKeyAttribute(L"Database_LastBackupDateDesc")]
[DisplayNameKeyAttribute(L"Database_LastBackupDateName")]
property DateTime LastBackupDate {
    DateTime get ();
}
[<DisplayDescriptionKeyAttribute("Database_LastBackupDateDesc")>]
[<DisplayNameKeyAttribute("Database_LastBackupDateName")>]
abstract LastBackupDate : DateTime
function get LastBackupDate () : DateTime

屬性值

型別:System.DateTime
A date and time for the last database backup.

請參閱

參考

IDatabaseMaintenanceFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間