decline (NotesCalendarEntry - JavaScript)

会議のエントリ (複数可) を辞退します。

定義場所

NotesCalendarEntry

構文

decline(comments:string) : void

decline(comments:string、keepinformed:boolean) : void

decline(comments:string、keepinformed:boolean、scope:int、recurid:string) : void

パラメータ 説明
comments 会議の変更に関するコメント。
keepinformed 会議に関する通知を引き続き受け取るには、true を指定します。
scope 反復操作の範囲:
  • CS_RANGE_REPEAT_ALL (1)
  • CS_RANGE_REPEAT_CURRENT (0)
  • CS_RANGE_REPEAT_FUTURE (3) (当該要素を含む)
  • CS_RANGE_REPEAT_PREV (2) (当該要素を含む)
recurid 反復するカレンダーイベントの反復識別子 (RECURRENCE-ID アイテム)。 反復識別子の形式は、UTC 形式での時刻です (20120913T160000Z など)。
可能性のある例外 テキスト 説明
NotesError.NOTES_ERR_INVALIDID 4757 無効 ID NotesCalendarEntry オブジェクトの識別子が無効です。
NotesError.NOTES_ERR_RECURID_NOTFOUND 4808 反復識別子が見つかりません。 NotesCalendarEntry オブジェクトの反復識別子が無効です。
NotesError.NOTES_ERR_IDNOTFOUND 4814 ID が見つかりません NotesCalendarEntry オブジェクトの反復識別子がカレンダーのエントリを示していないか、 反復識別子の scoperecurid がありません。

使用法

このメソッドは会議のエントリを処理し、通知は処理しません。

このボタンイベントは会議を辞退します。
var dbdir:NotesDbDirectory = session.getDbDirectory("");
var maildb:NotesDatabase = dbdir.openMailDatabase();
var cal:NotesCalendar = session.getCalendar(maildb);
var unid:string = sessionScope.unid;
var cale:NotesCalendarEntry = cal.getEntryByUNID(unid);
cale.decline("Can't make it", true);
requestScope.status = "Calendar entry for UNID " + unid + " declined¥n";

LotusScript® 構文と例

NotesCalendarEntry.Decline(Byval comments As String, Optional keepinformed As Boolean, Optional scope as Integer, Optional Byval recurid As String)

Java™ 構文と例

void NotesCalendarEntry.decline(String comments)
void NotesCalendarEntry.decline(String comments, boolean keepinformed)
void NotesCalendarEntry.decline(String comments, boolean keepinformed, int scope, String recurid)