Поделиться через


Свойство BufferCount

Gets or sets the total number of I/O buffers to be used for the backup or restore operation.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
Public Property BufferCount As Integer
    Get
    Set
'Применение
Dim instance As BackupRestoreBase
Dim value As Integer

value = instance.BufferCount

instance.BufferCount = value
public int BufferCount { get; set; }
public:
property int BufferCount {
    int get ();
    void set (int value);
}
member BufferCount : int with get, set
function get BufferCount () : int
function set BufferCount (value : int)

Значение свойства

Тип: System. . :: . .Int32
An Int32 value that specifies the total number of I/O buffers to be used for the backup operation.

Замечания

You can specify any positive integer. Using a lot of buffers might cause "out of memory" errors because of insufficient virtual address space in the Sqlservr.exe process.

The total buffer space used is the following product: buffercount * maxtransfersize.