RedGate.SQLDataCompare.Engine Namespace > ComparisonSession Class : CancelOperation Method (ComparisonSession) |
Cancels the current operation. Any table differences that were generated before the operation was canceled will be invalid.
[Visual Basic]
Public Sub CancelOperation()
[C#]
public void CancelOperation();
[C++]
public: void CancelOperation();
[C++/CLI]
public:
void CancelOperation();
An OperationCancelledException is thrown.
See CompareDatabases for an example of how to receive status events and cancel operations.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
ComparisonSession Class | ComparisonSession Members
© 2003 - 2006 Red Gate Software Ltd. All Rights Reserved.