GetColumnCount 方法

Gets the number of columns in an IDTSBuffer100.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Function GetColumnCount As UInteger
用法
Dim instance As IDTSBuffer100
Dim returnValue As UInteger

returnValue = instance.GetColumnCount()
uint GetColumnCount()
unsigned int GetColumnCount()
abstract GetColumnCount : unit -> uint32 
function GetColumnCount() : uint

返回值

类型: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.