DatabaseOptions.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(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringRedoQueueMaxSize As Integer 
    Get
用法
Dim instance As DatabaseOptions 
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
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.

示例

设置属性

请参阅

参考

DatabaseOptions 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

数据库镜像管理

数据库选项

ALTER DATABASE (Transact-SQL)