PipelineBuffer.GetColumnInfo Method
Retrieves the BufferColumn structure for a PipelineBuffer column. This method is not CLS-compliant.
命名空间: Microsoft.SqlServer.Dts.Pipeline
程序集: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)
语法
声明
<CLSCompliantAttribute(False)> _
Public Function GetColumnInfo ( _
columnIndex As Integer _
) As BufferColumn
[CLSCompliantAttribute(false)]
public BufferColumn GetColumnInfo (
int columnIndex
)
[CLSCompliantAttribute(false)]
public:
BufferColumn GetColumnInfo (
int columnIndex
)
/** @attribute CLSCompliantAttribute(false) */
public BufferColumn GetColumnInfo (
int columnIndex
)
CLSCompliantAttribute(false)
public function GetColumnInfo (
columnIndex : int
) : BufferColumn
参数
- columnIndex
The index of the column whose BufferColumn structure is retrieved.
返回值
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.
线程安全
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.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
PipelineBuffer Class
PipelineBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace