Cancels the current operation. Any table differences that were generated before
the operation was canceled will be invalid.
Namespace:
RedGate.SQLDataCompare.EngineAssembly: RedGate.SQLDataCompare.Engine (in RedGate.SQLDataCompare.Engine.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub CancelOperation |
C# |
---|
public void CancelOperation() |
Visual C++ |
---|
public: virtual void CancelOperation() sealed |
Implements
ICancellable..::.CancelOperation()()()Remarks
An OperationCancelledException is thrown.
Examples
See CompareDatabases(Database, Database, SchemaMappings) for an example of how to receive status
events and cancel operations.