Udostępnij za pośrednictwem


BackupRestoreBase.BufferCount Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in microsoft.sqlserver.smoextended.dll)

Syntax

'Deklaracja
Public Property BufferCount As Integer
public int BufferCount { get; set; }
public:
property int BufferCount {
    int get ();
    void set (int value);
}
/** @property */
public int get_BufferCount ()

/** @property */
public void set_BufferCount (int value)
public function get BufferCount () : int

public function set BufferCount (value : int)

Property Value

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

Remarks

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.