Sdílet prostřednictvím


Certificate.LastBackupDate Property

Gets or sets the date and time at which the certificate was last backed up.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastBackupDate As DateTime 
    Get
'Usage
Dim instance As Certificate 
Dim value As DateTime 

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

Property Value

Type: System.DateTime
A DateTime object value that specifies the last backup date of the certificate.

Examples

Using Encryption

See Also

Reference

Certificate Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE CERTIFICATE (Transact-SQL)