Udostępnij za pośrednictwem


IDTSBuffer90.GetColumnCount Method

Gets the number of columns in an IDTSBuffer90.

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

Syntax

'Declaration
Function GetColumnCount As UInteger
uint GetColumnCount ()
unsigned int GetColumnCount ()
UInt32 GetColumnCount ()
function GetColumnCount () : uint

Return Value

An unsigned integer that contains the number of columns in the IDTSBuffer90.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace