Share via


Database.LastDifferentialBackupDate Property

Gets the date and time when the last differential backup was performed.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property LastDifferentialBackupDate As DateTime
    Get
'Usage
Dim instance As Database
Dim value As DateTime

value = instance.LastDifferentialBackupDate
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public DateTime LastDifferentialBackupDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property DateTime LastDifferentialBackupDate {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member LastDifferentialBackupDate : DateTime
function get LastDifferentialBackupDate () : DateTime

Property Value

Type: System.DateTime
A DateTime object value that specifies the date and time when the last differential backup was performed.