Share via


SqlBulkCopy.ColumnOrderHints 属性

定义

返回 SqlBulkCopyColumnOrderHint 项的集合。 列顺序提示描述目标表聚集索引中列的排序顺序。

public:
 property Microsoft::Data::SqlClient::SqlBulkCopyColumnOrderHintCollection ^ ColumnOrderHints { Microsoft::Data::SqlClient::SqlBulkCopyColumnOrderHintCollection ^ get(); };
public Microsoft.Data.SqlClient.SqlBulkCopyColumnOrderHintCollection ColumnOrderHints { get; }
member this.ColumnOrderHints : Microsoft.Data.SqlClient.SqlBulkCopyColumnOrderHintCollection
Public ReadOnly Property ColumnOrderHints As SqlBulkCopyColumnOrderHintCollection

属性值

列顺序提示的集合。 默认情况下为空集合。

注解

如果导入的数据根据表上的聚集索引(如果有)进行排序,则 SqlBulkCopy 的性能会得到提高。 如果数据的排序顺序不同于聚集索引键的顺序,或者表中没有聚集索引,则忽略顺序提示。

适用于