会議のエントリ (複数可) を仮了承します。
tentativelyAccept(comments:string、scope:int, recurid:string) : void
パラメータ | 説明 |
---|---|
comments | 会議の変更に関するコメント。 |
scope | 反復操作の範囲:
|
recurid | 反復するカレンダーイベントの反復識別子 (RECURRENCE-ID アイテム)。 反復識別子の形式は、UTC 形式での時刻です (20120913T160000Z など)。 |
可能性のある例外 | 値 | テキスト | 説明 |
---|---|---|---|
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 09");
var dt2:NotesDateTime = session.createDateTime("Tomorrow 10");
var entries:java.util.Vector = cal.getEntries(dt1, dt2, 0, 1);
if (entries.size() > 0) {
var entry:NotesCalendarEntry = entries.firstElement();
entry.tentativelyAccept("Maybe");
requestScope.status = "Tentatively accepted";
} else {
requestScope.status = "No entry at that time";
}
} catch(e) {
requestScope.status = e;
}
NotesCalendarEntry.TentativelyAccept(Byval comments As String, Optional scope as Integer, Optional Byval recurid As String)
void NotesCalendarEntry.tentativelyAccept(String comments)
void NotesCalendarEntry.tentativelyAccept(String comments, int scope, String recurid)