共用方式為


MirroringRedoQueueMaxSize 屬性

Gets or sets the maximum size of the redo queue of the mirror server instance in KB.

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property MirroringRedoQueueMaxSize As Integer
    Get
'用途
Dim instance As DatabaseOptions
Dim value As Integer

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

屬性值

型別:System. . :: . .Int32
An integer value that specifies maximum size of the redo queue of the mirror server instance in 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.

範例

設定屬性