共用方式為


IDTSBufferManager100.GetColumnCount(Int32) Method

Definition

Gets the number of columns in a specified registered buffer type.

public:
 System::UInt32 GetColumnCount(int hBufferType);
[System.Runtime.InteropServices.DispId(123)]
public uint GetColumnCount (int hBufferType);
[<System.Runtime.InteropServices.DispId(123)>]
abstract member GetColumnCount : int -> uint32
Public Function GetColumnCount (hBufferType As Integer) As UInteger

Parameters

hBufferType
Int32

The ID of the registered buffer.

Returns

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

Attributes

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