共用方式為


ResourceActivatePreEventArgs.Cancel Property

Reads or writes a Boolean value that indicates whether to cancel the activation of the resource.

Namespace:  Microsoft.Office.Project.Server.Events
Assembly:  Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)

Syntax

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

value = instance.Cancel

instance.Cancel = value
public bool Cancel { get; set; }

Property Value

Type: System.Boolean

Implements

IPreEventArgs.Cancel

See Also

Reference

ResourceActivatePreEventArgs Class

ResourceActivatePreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace