共用方式為


Database.MirroringRedoQueueMaxSize 屬性

Gets 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(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
A Int32 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.

請參閱

參考

Database 類別

Microsoft.SqlServer.Management.Smo 命名空間