SqlBulkCopyColumnMappingCollection.IndexOf(SqlBulkCopyColumnMapping) 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.
Gets the index of the specified SqlBulkCopyColumnMapping object.
public:
int IndexOf(Microsoft::Data::SqlClient::SqlBulkCopyColumnMapping ^ value);
public int IndexOf (Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping value);
member this.IndexOf : Microsoft.Data.SqlClient.SqlBulkCopyColumnMapping -> int
Public Function IndexOf (value As SqlBulkCopyColumnMapping) As Integer
Parameters
- value
- SqlBulkCopyColumnMapping
The SqlBulkCopyColumnMapping object for which to search.
Returns
The zero-based index of the column mapping, or -1 if the column mapping is not found in the collection.