共用方式為


MirroringRedoQueueMaxSize 屬性

取得或設定鏡像伺服器執行個體之重做佇列的最大大小 (以 KB 為單位)。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringRedoQueueMaxSize As Integer
    Get
'用途
Dim instance As Database
Dim value As Integer

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

屬性值

型別:System. . :: . .Int32
Int32 值,這個值會指定鏡像伺服器執行個體之重做佇列的最大大小 (以 KB 為單位)。

備註

The redo queue includes the log records waiting to be rolled forward on the mirror database. By default, the size of the redo queue is unlimited. You can specify the property on the principal server only.