IDTSBufferManager100.GetColumnCount Method (Int32)


Gets the number of columns in a specified registered buffer type.

Namespace:   Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

uint GetColumnCount(
	int hBufferType


Type: System.Int32

The ID of the registered buffer.

Return Value

Type: System.UInt32

An integer that specifies the number of columns defined for the registered IDTSBuffer100 object.

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.

Return to top