Share via


Office.MailboxEnums.AppointmentSensitivityType enum

Hinweis

Diese API wird als Vorschau für Entwickler bereitgestellt. Je nachdem, welches Feedback wir dazu erhalten, werden möglicherweise Änderungen vorgenommen. Verwenden Sie diese API nicht in einer Produktionsumgebung.

Gibt die Vertraulichkeitsstufe eines Termins an.

Hinweise

[ API-Satz: Postfachvorschau ]

Anwendbarer Outlook-Modus: Verfassen oder Lesen

Beispiele

// 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.");
    }
  }
);

Felder

Normal = "normal"

Der Artikel bedarf keiner besonderen Behandlung.

Personal = "personal"

Behandeln Sie das Element als persönlich.

Wichtig: Die Persönliche Vertraulichkeitsstufe wird nur in Outlook unter Windows unterstützt.

Private = "private"

Behandeln Sie das Element als privat.

Confidential = "confidential"

Behandeln Sie das Element als vertraulich.

Wichtig: Die Vertraulichkeitsstufe Vertraulich wird nur in Outlook unter Windows unterstützt.