Export (0) Print
Expand All

IDTSBufferManager100.GetColumnCount Method (Int32)


Applies To: SQL Server 2016 Preview

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft