共用方式為


DatabaseReplicaState.LastRedoneTime 屬性

Gets the time when the last log record was redone on the secondary database.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRedoneTime As DateTime 
    Get
'用途
Dim instance As DatabaseReplicaState 
Dim value As DateTime 

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

屬性值

型別:System.DateTime
The time when the last log record was redone on the secondary database.

請參閱

參考

DatabaseReplicaState 類別

Microsoft.SqlServer.Management.Smo 命名空間