Office.MailboxEnums.AppointmentSensitivityType enum
指定约会的 敏感度级别 。
注解
适用的 Outlook 模式:撰写或阅读
示例
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/90-other-item-apis/get-set-sensitivity-level.yaml
Office.context.mailbox.item.sensitivity.setAsync(
Office.MailboxEnums.AppointmentSensitivityType.Private,
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 中受支持。 |