次の方法で共有


CalendarCheckOutPreEventArgs.CancelEvent Method

Cancels a check out of the calendar.

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

Syntax

'Declaration
Public Sub CancelEvent ( _
    reason As String _
)
'Usage
Dim instance As CalendarCheckOutPreEventArgs
Dim reason As String

instance.CancelEvent(reason)
public void CancelEvent(
    string reason
)

Parameters

  • reason
    Type: System.String
    The text that explains why a calendar check out is to be cancelled.

Implements

IPreEventArgs.CancelEvent(String)

See Also

Reference

CalendarCheckOutPreEventArgs Class

CalendarCheckOutPreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace