DTSBufferManagerClass.RegisterBufferType 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual int RegisterBufferType(int cCols, Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::DTP_BUFFCOL % rgCols, int lMaxRows, System::UInt32 dwCreationFlags) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSBufferManager100::RegisterBufferType;
public virtual int RegisterBufferType (int cCols, ref Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.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
參數
- cCols
- Int32
- rgCols
- DTP_BUFFCOL
- lMaxRows
- Int32
- dwCreationFlags
- UInt32
傳回
不帶正負號的整數,其中包含緩衝區類型的識別碼。
實作
備註
緩衝區管理員會維護緩衝區類型的清單。 每個緩衝區類型定義都包含資料行數目、每個資料行的資料類型屬性、是否已配置空間來保存資料行的狀態資訊,以及建立新的緩衝區類型實例時如何初始化資料行。 這個方法是用來向管理員註冊新的緩衝區類型。 一旦定義緩衝區類型,在呼叫時,會使用緩衝區類型的傳回識別碼 CreateBuffer 。 如果找到的緩衝區定義符合這個方法的參數,則會傳回它的識別碼。 否則會建立新的定義。