Changes the matching mappings to be the fields from the matched indexes. The property IndexMapping is set to the specified mapping; or null if a problem was encountered.

Namespace:  RedGate.SQLDataCompare.Engine
Assembly:  RedGate.SQLDataCompare.Engine (in RedGate.SQLDataCompare.Engine.dll)

Syntax

Visual Basic (Declaration)
Public Function UseIndexForMapping ( _
	mapping As IndexMapping _
) As Boolean
C#
public bool UseIndexForMapping(
	IndexMapping mapping
)
Visual C++
public:
bool UseIndexForMapping(
	IndexMapping^ mapping
)

Parameters

mapping
Type: RedGate.SQLDataCompare.Engine..::.IndexMapping
The IndexMapping to be used.

Return Value

true if the mapping was successfully used; otherwise false.

See Also