Share via


DTSBufferManagerClass.GetColumnCount(Int32) Method

Definition

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.

Applies to