共用方式為


DTSBufferManagerClass.GetColumnCount(Int32) Method

Definition

public:
 virtual System::UInt32 GetColumnCount(int hBufferType) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSBufferManager100::GetColumnCount;
public virtual uint GetColumnCount (int hBufferType);
abstract member GetColumnCount : int -> uint32
override this.GetColumnCount : int -> uint32
Public Overridable Function GetColumnCount (hBufferType As Integer) As UInteger

Parameters

hBufferType
Int32

Returns

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

Implements

Remarks

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.

Applies to