SqlBulkCopyColumnOrderHintCollection.IndexOf Method

Definition

Gets the index of the specified SqlBulkCopyColumnOrderHint object.

C#
public int IndexOf (Microsoft.Data.SqlClient.SqlBulkCopyColumnOrderHint value);

Parameters

value
SqlBulkCopyColumnOrderHint

The SqlBulkCopyColumnOrderHint object for which to search.

Returns

The zero-based index of the column order hint, or -1 if the column order hint is not found in the collection.

Applies to

Product Versions
SqlClient .NET Core 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2