IDTSBuffer100.GetColumnCount Method

Gets the number of columns in an IDTSBuffer100.

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

uint GetColumnCount()

Return Value

Type: System.UInt32
An unsigned integer that contains the number of columns in the IDTSBuffer100.

This method returns the number of columns contained in the IDTSBuffer100. If the buffer was created using the CreateFlatBuffer method, the method fails and a DTS_E_BUFFERISFLAT exception is thrown.

Community Additions