DTSBufferManagerClass.RegisterBufferType(Int32, DTP_BUFFCOL, Int32, UInt32) Metodo

Definizione

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

Parametri

cCols
Int32
rgCols
DTP_BUFFCOL
lMaxRows
Int32
dwCreationFlags
UInt32

Restituisce

Int32

Intero senza segno contenente l'ID del tipo di buffer.

Implementazioni

Commenti

Gestione buffer mantiene un elenco di tipi di buffer. Ogni definizione del tipo di buffer contiene il numero di colonne, le proprietà del tipo di dati di ogni colonna, se lo spazio viene allocato che contiene informazioni sullo stato per la colonna e il modo in cui le colonne vengono inizializzate quando viene creata una nuova istanza del tipo di buffer. Questo metodo viene usato per registrare un nuovo tipo di buffer con la gestione. Una volta definito un tipo di buffer, quando si chiama CreateBufferviene usato l'ID restituito del tipo di buffer. Se viene trovata una definizione di buffer che corrisponde ai parametri di questo metodo, viene restituito il relativo ID. In caso contrario, viene creata una nuova definizione.

Si applica a