Export (0) Print
Expand All

IDTSBufferManager100.GetColumnCount Method

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: Int32
The ID of the registered buffer.

Return Value

Type: 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft