DatabaseReplicaState.LastCommitTime Property

Gets the time corresponding to the last commit record.

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

Syntax

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

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

Property Value

Type: System.DateTime
The time corresponding to the last commit record.

See Also

Reference

DatabaseReplicaState Class

Microsoft.SqlServer.Management.Smo Namespace