public static ParkedMeetingMessage Create(MailboxSession mailboxSession) { StoreObjectId storeObjectId = mailboxSession.GetDefaultFolderId(DefaultFolderType.ParkedMessages); if (storeObjectId == null) { storeObjectId = mailboxSession.CreateDefaultFolder(DefaultFolderType.ParkedMessages); } ParkedMeetingMessage parkedMeetingMessage = ItemBuilder.CreateNewItem <ParkedMeetingMessage>(mailboxSession, storeObjectId, ItemCreateInfo.ParkedMeetingMessageInfo); parkedMeetingMessage[StoreObjectSchema.ItemClass] = "IPM.Parked.MeetingMessage"; return(parkedMeetingMessage); }
public new static ParkedMeetingMessage Bind(StoreSession session, StoreId storeId, params PropertyDefinition[] propertiesToReturn) { return(ParkedMeetingMessage.Bind(session, storeId, (ICollection <PropertyDefinition>)propertiesToReturn)); }