Share via


ViewChangingEventArgs.Cancel Property

Gets or sets a value indicating whether to cancel the view changing event arguments.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Property Cancel As Boolean
    Get
    Set
'Usage
Dim instance As ViewChangingEventArgs
Dim value As Boolean

value = instance.Cancel

instance.Cancel = value
public bool Cancel { get; set; }
public:
property bool Cancel {
    bool get ();
    void set (bool value);
}
member Cancel : bool with get, set
function get Cancel () : boolean
function set Cancel (value : boolean)

Property Value

Type: System.Boolean
true to cancel; otherwise, false