共用方式為


Cancel 屬性

Gets or sets a Boolean value that specifies whether the user has requested that the operation be cancelled.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Public Property Cancel As Boolean
    Get
    Set
'用途
Dim instance As DuplicateFoundEventArgs
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)

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether the user has requested that the operation be cancelled.