DTSBufferManagerClass.RegisterBufferType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual int RegisterBufferType(int cCols, Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::DTP_BUFFCOL % rgCols, int lMaxRows, System::UInt32 dwCreationFlags) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSBufferManager100::RegisterBufferType;
public virtual int RegisterBufferType (int cCols, ref Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.DTP_BUFFCOL rgCols, int lMaxRows, uint dwCreationFlags);
abstract member RegisterBufferType : int * DTP_BUFFCOL * int * uint32 -> int
override this.RegisterBufferType : int * DTP_BUFFCOL * int * uint32 -> int
Public Overridable Function RegisterBufferType (cCols As Integer, ByRef rgCols As DTP_BUFFCOL, lMaxRows As Integer, dwCreationFlags As UInteger) As Integer
Parameters
- cCols
- Int32
- rgCols
- DTP_BUFFCOL
- lMaxRows
- Int32
- dwCreationFlags
- UInt32
Returns
An unsigned integer that contains the ID of the buffer type.
Implements
Remarks
The buffer manager maintains a list of buffer types. Each buffer type definition contains the number of columns, the data type properties of each column, whether space is allocated that holds status information for the column, and how the columns are initialized when a new instance of the buffer type is created. This method is used to register a new buffer type with the manager. Once a buffer type has been defined, the returned ID of the buffer type is used when calling CreateBuffer. If a buffer definition is found that matches the parameters of this method, then its ID is returned. Otherwise, a new definition is created.