共用方式為


DatabaseReplicaState.LastCommitLSN 屬性

Gets the LSN of the last commit record.

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

語法

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

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

屬性值

型別:System.Decimal
The LSN of the last commit record.

請參閱

參考

DatabaseReplicaState 類別

Microsoft.SqlServer.Management.Smo 命名空間