共用方式為


DatabaseReplicaState.LogSendQueueSize 屬性

Gets the amount of log records in the log files of the primary database that has not been sent to the secondary replica.

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

語法

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

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

屬性值

型別:System.Int64
The amount of log records in the log files of the primary database that has not been sent to the secondary replica.

請參閱

參考

DatabaseReplicaState 類別

Microsoft.SqlServer.Management.Smo 命名空間