IDatabaseMaintenanceFacet.LastBackupDate Property

Gets a datetime for the last database backup.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("Database_LastBackupDateName")> _
<DisplayDescriptionKeyAttribute("Database_LastBackupDateDesc")> _
ReadOnly Property LastBackupDate As DateTime
    Get
'Usage
Dim instance As IDatabaseMaintenanceFacet
Dim value As DateTime

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

Property Value

Type: System.DateTime
DateTime