共用方式為


DatabaseReplicaState.LastCommitTime 屬性

Gets the time corresponding to the last commit record.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastCommitTime As DateTime 
    Get
'用途
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

屬性值

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

請參閱

參考

DatabaseReplicaState 類別

Microsoft.SqlServer.Management.Smo 命名空間