DTSBufferManagerClass.GetColumnCount(Int32) 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.
Gets the number of columns in the specified registered buffer type.
public:
virtual System::UInt32 GetColumnCount(int hBufferType) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBufferManager100::GetColumnCount;
public virtual uint GetColumnCount (int hBufferType);
abstract member GetColumnCount : int -> uint32
override this.GetColumnCount : int -> uint32
Public Overridable Function GetColumnCount (hBufferType As Integer) As UInteger
Parameters
- hBufferType
- Int32
The ID of the registered buffer.
Returns
An Integer that specifies the number of columns defined for the registered IDTSBuffer100 object.
Implements
Remarks
The GetColumnCount method returns the number of columns defined for the IDTSBuffer100 object identified by the hBufferType
parameter. If the buffer definition specified by hBufferType
does not exist, an E_INVALIDARG error occurs.