PipelineBuffer.GetColumnInfo 메서드

Retrieves the BufferColumn structure for a PipelineBuffer column.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline
어셈블리:  Microsoft.SqlServer.PipelineHost(Microsoft.SqlServer.PipelineHost.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Public Function GetColumnInfo ( _
    columnIndex As Integer _
) As BufferColumn
‘사용 방법
Dim instance As PipelineBuffer 
Dim columnIndex As Integer 
Dim returnValue As BufferColumn 

returnValue = instance.GetColumnInfo(columnIndex)
[CLSCompliantAttribute(false)]
public BufferColumn GetColumnInfo(
    int columnIndex
)
[CLSCompliantAttribute(false)]
public:
BufferColumn GetColumnInfo(
    int columnIndex
)
[<CLSCompliantAttribute(false)>]
member GetColumnInfo : 
        columnIndex:int -> BufferColumn
public function GetColumnInfo(
    columnIndex : int
) : BufferColumn

매개 변수

반환 값

유형: Microsoft.SqlServer.Dts.Pipeline.BufferColumn
The BufferColumn structure of the specified PipelineBuffer column.

주의

The BufferColumn contains information about the data stored in a PipelineBuffer column. This information can be used to prevent exceptions that might occur when assigning data to the buffer column. For example, columns with a fixed length such as the DT_STR, DT_TEXT, DT_WSTR, and DT_BYTES data types will fail if the data length is greater than the MaxLength of the BufferColumn.

참고 항목

참조

PipelineBuffer 클래스

Microsoft.SqlServer.Dts.Pipeline 네임스페이스