MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
ExtendedPropertyDefinition PR_STORE_ID_DEFN = new ExtendedPropertyDefinition(0x0FFB, MapiPropertyType.Binary); FolderView view = new FolderView(10); view.setPropertySet(new PropertySet(BasePropertySet.IdOnly, FolderSchema.DisplayName, FolderSchema.EffectiveRights, PR_STORE_ID_DEFN)); view.setTraversal(FolderTraversal.Shallow); FolderId parentId = FolderId.getFolderIdFromWellKnownFolderName(WellKnownFolderName.MsgFolderRoot); IsEqualTo filter = new SearchFilter.IsEqualTo(FolderSchema.DisplayName, "Some Folder"); FindFoldersResults folders = service.findFolders(parentId, filter, view); Folder folder = folders.getFolders().get(0); byte storeId = (byte)folder.getExtendedPropertiesForService().getPropertyAtIndex(0).getValue();
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.