IBCPSession2 (OLE DB)IBCPSession2 (OLE DB)

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 是Azure SQL 数据库Azure SQL DatabaseYesAzure SQL 数据库Azure SQL Database 是Azure SQL 托管实例Azure SQL Managed InstanceYesAzure SQL 托管实例Azure SQL Managed Instance 是Azure Synapse AnalyticsAzure Synapse AnalyticsyesAzure Synapse AnalyticsAzure Synapse Analytics 是并行数据仓库Parallel Data Warehouseyes并行数据仓库Parallel Data Warehouse适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 是Azure SQL 数据库Azure SQL DatabaseYesAzure SQL 数据库Azure SQL Database 是Azure SQL 托管实例Azure SQL Managed InstanceYesAzure SQL 托管实例Azure SQL Managed Instance 是Azure Synapse AnalyticsAzure Synapse AnalyticsyesAzure Synapse AnalyticsAzure Synapse Analytics 是并行数据仓库Parallel Data Warehouseyes并行数据仓库Parallel Data Warehouse

下载下载 OLE DB 驱动程序DownloadDownload OLE DB Driver

IBCPSession2 接口扩展了 IBCPSession(该接口提供了成员函数,作为为每列调用 IBCPSession::BCPColFmt 的替代方式)。The IBCPSession2 interface is an extension to IBCPSession that provides a member function that is an alternative to calling IBCPSession::BCPColFmt for each column. IBCPSession2 继承自 IBCPSession 并添加了一个新方法:IBCPSession2::BCPSetBulkModeIBCPSession2 inherits from IBCPSession and adds one new method: IBCPSession2::BCPSetBulkMode.

另请参阅See Also

接口 (OLE DB)Interfaces (OLE DB)