会議のエントリ (複数可) に対する変更を要求します。
cancel(comments:string、start:NotesDateTime, end:NotesDateTime、 keepplaceholder:boolean) : void
cancel(comments:string、start:NotesDateTime, end:NotesDateTime、 scope:int、recurid:string) : voidcancel(comments:string、start:NotesDateTime、end:NotesDateTime、keepplaceholder:boolean, scope:int、recurid:string) : void
パラメータ | 説明 |
---|---|
comments | 会議の変更に関するコメント。 |
start | 代案とする開始時刻。 |
end | 代案とする終了時刻。終了時刻が開始時刻より後の時刻になっていない場合は、例外が発生します。 |
keepplaceholder | 会議のプレースホルダを保持します。 |
scope | 反復操作の範囲:
|
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 オブジェクトの反復識別子がカレンダーのエントリを示していないか、 反復識別子の scope と recurid がありません。 |
var dbdir:NotesDbDirectory = session.getDbDirectory("");
var maildb:NotesDatabase = dbdir.openMailDatabase();
var cal:NotesCalendar = session.getCalendar(maildb);
var dt1:NotesDateTime = session.createDateTime("Tomorrow 12");
var dt2:NotesDateTime = session.createDateTime("Tomorrow 13");
var unid:string = sessionScope.unid;
var cale:NotesCalendarEntry = cal.getEntryByUNID(unid);
cale.counter("New time?", dt1, dt2, true);
requestScope.status = "Calendar entry for UNID " + unid + " countered¥n";
NotesCalendarEntry.Cancel(Byval comments As String, start As NotesDateTime, end As NotesDateTime, Optional scope as Integer, Optional Byval recurid As String)
void NotesCalendarEntry.cancel(String comments, DateTime start, DateTime end)
void NotesCalendarEntry.cancel(String comments, DateTime start, DateTime end, boolean keepplaceholder)
void NotesCalendarEntry.cancel(String comments, DateTime start, DateTime end, int scope, String recurid))
void NotesCalendarEntry.cancel(String comments, DateTime start, DateTime end, boolean keepplaceholder, int scope, String recurid)