Office.MailboxEnums.LocationType enum
Gibt den Typ eines Terminstandorts an.
Hinweise
Anwendbarer Outlook-Modus: Compose oder Lesen
Beispiele
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/90-other-item-apis/get-add-remove-enhancedlocation-appointment.yaml
const locations = [
{
id: "Contoso",
type: Office.MailboxEnums.LocationType.Custom
},
{
id: "room500@test.com",
type: Office.MailboxEnums.LocationType.Room
}
];
Office.context.mailbox.item.enhancedLocation.addAsync(locations, (result) => {
if (result.status === Office.AsyncResultStatus.Succeeded) {
console.log(`Successfully added locations ${JSON.stringify(locations)}`);
} else {
console.error(`Failed to add locations. Error message: ${result.error.message}`);
}
});
Felder
Custom = "custom" | Ein benutzerdefinierter Speicherort. Benutzerdefinierte Speicherorte verfügen nicht über eine SMTP-Adresse. Hinweis: Persönliche Kontaktgruppen , die als Terminorte hinzugefügt wurden, werden von der EnhancedLocation.getAsync-Methode nicht zurückgegeben. |
Room = "room" | Ein Konferenzraum oder eine ähnliche Ressource mit einer SMTP-Adresse. |