SqlBulkCopyColumnOrderHintCollection.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Insert a new SqlBulkCopyColumnOrderHint at the index specified.
public:
void Insert(int index, Microsoft::Data::SqlClient::SqlBulkCopyColumnOrderHint ^ columnOrderHint);
public void Insert (int index, Microsoft.Data.SqlClient.SqlBulkCopyColumnOrderHint columnOrderHint);
member this.Insert : int * Microsoft.Data.SqlClient.SqlBulkCopyColumnOrderHint -> unit
Public Sub Insert (index As Integer, columnOrderHint As SqlBulkCopyColumnOrderHint)
Parameters
- index
- Int32
Integer value of the location within the SqlBulkCopyColumnOrderHintCollection at which to insert the new SqlBulkCopyColumnOrderHint.
- columnOrderHint
- SqlBulkCopyColumnOrderHint
SqlBulkCopyColumnOrderHint object to be inserted in the collection.
Exceptions
The index is less than zero or greater than the size of the collection.
A null column order hint cannot be added to the collection.
Remarks
The order in which column order hints can be added is arbitrary.