Office.MailboxEnums.AppointmentSensitivityType enum
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the sensitivity level of an appointment.
Remarks
Applicable Outlook mode: Compose or Read
Examples
// 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.");
}
}
);
Fields
Normal = "normal" | The item needs no special treatment. |
Personal = "personal" | Treat the item as personal. Important: The Personal sensitivity level is only supported in Outlook on Windows. |
Private = "private" | Treat the item as private. |
Confidential = "confidential" | Treat the item as confidential. Important: The Confidential sensitivity level is only supported in Outlook on Windows. |
Office Add-ins
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for