Partager via


ManagementPackTask.CanCancel Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets a value that indicates whether the management pack task can be cancelled.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ManagementPackTask
Dim value As Nullable(Of Boolean)

value = instance.CanCancel

instance.CanCancel = value

Syntax

'Declaration
Public Property CanCancel As Nullable(Of Boolean)
public Nullable<bool> CanCancel { get; set; }
public:
property Nullable<bool> CanCancel {
    Nullable<bool> get ();
    void set (Nullable<bool> value);
}
/** @property */
public Nullable<boolean> get_CanCancel ()

/** @property */
public void set_CanCancel (Nullable<boolean> value)
public function get CanCancel () : Nullable<boolean>

public function set CanCancel (value : Nullable<boolean>)

Property Value

true if the task can be cancelled; otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackTask Class
ManagementPackTask Members
Microsoft.EnterpriseManagement.Configuration Namespace