RedGate.SQL.Shared Namespace : ICancellable Interface |
An interface for objects with operations that can be cancelled.
For a list of all members of this type, see ICancellable members.
[Visual Basic]
Public Interface ICancellable
[C#]
public interface ICancellable
[C++]
public __gc __interface ICancellable
[C++/CLI]
public interface class ICancellable
SQL Compare and SQL Data Compare have operations which can take a long time and may need to be cancelled. Examples include executing SQL scripts, registering databases in SQL Compare and generating SQL Data Compare scripts.
If a long-running operation is cancelled then an OperationCancelledException is thrown
See ComparisonSession for a code sample.
Namespace: RedGate.SQL.Shared
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: RedGate.SQL.Shared (in RedGate.SQL.Shared.dll)
ICancellable Members | RedGate.SQL.Shared Namespace
© 2003 - 2007 Red Gate Software Ltd. All Rights Reserved.