Office.MailboxEnums.AppointmentSensitivityType enum

注意

この API は開発者向けにプレビューとして提供されており、寄せられたフィードバックにもとづいて変更される場合があります。 この API は運用環境で使用しないでください。

予定の 秘密度レベル を指定します。

注釈

[ API セット: メールボックス プレビュー ]

適用できる Outlook モード: 新規作成または読み取り

// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/99-preview-apis/calendar-properties-apis.yaml

Office.context.mailbox.item.sensitivity.setAsync(
  Office.MailboxEnums.AppointmentSensitivityType.Confidential,
  function callback(asyncResult) {
    if (asyncResult.status === Office.AsyncResultStatus.Failed) {
      console.log("Failed to set appointment sensitivity: " + JSON.stringify(asyncResult.error));
    } else {
      console.log("Successfully set appointment sensitivity.");
    }
  }
);

フィールド

Normal = "normal"

特別な扱いは不要です。

Personal = "personal"

アイテムを個人用として扱います。

重要: 個人用の秘密度レベルは、Outlook on Windows でのみサポートされます。

Private = "private"

アイテムをプライベートとして扱います。

Confidential = "confidential"

アイテムを機密として扱います。

重要: 機密機密レベルは、Outlook on Windows でのみサポートされます。