共用方式為


DTSBufferFlags Enum

Definition

Contains values that are used to register a buffer with the IDTSBufferManager100 object.

public enum class DTSBufferFlags
public enum DTSBufferFlags
type DTSBufferFlags = 
Public Enum DTSBufferFlags
Inheritance
DTSBufferFlags

Fields

Name Value Description
BUFF_NOOLEDB 1

Specifies that the buffer does not contain status information in its rows.

BUFF_INIT 2

Specifies that the columns in new buffers of this type are initialized with zeros.

Remarks

The values in this enumeration are provided to the RegisterBufferType method to control how the columns in the registered buffer type are initialized, whether status information is stored for each column in the buffer, and whether the data flow task is notified when the buffer becomes full.

If the BUFF_NOOLEDB value is not set, the memory size of a buffer is reduced because space for column status is not allocated for each column in the buffer. The memory savings equals the size of the status value, times the number of rows in the buffer, times the number of columns in a row.

Applies to