Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a date and time for the last database backup.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayDescriptionKeyAttribute("Database_LastBackupDateDesc")> _
<DisplayNameKeyAttribute("Database_LastBackupDateName")> _
ReadOnly Property LastBackupDate As DateTime
Get
'Usage
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
Property Value
Type: System.DateTime
A date and time for the last database backup.