See Also

ICancellable Members  | RedGate.SQL.Shared Namespace

Requirements

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)

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Requirements Languages RedGate.SQL.Shared Send comments on this topic.

ICancellable Interface

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.

Syntax

[Visual Basic]
Public Interface ICancellable
[C#]
public interface ICancellable
[C++]
public __gc __interface ICancellable
[C++/CLI]
public interface class ICancellable

Remarks

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.

Requirements

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)

See Also

ICancellable Members  | RedGate.SQL.Shared Namespace

 

 


© 2003 - 2007 Red Gate Software Ltd. All Rights Reserved.