Reputation: 598
I want to add automatically Synchronization Filters to Outlook folders. I'm using Outlook 2015, and .NET Framework 5.0
I know how to the outlook instance and go over folders, but I can't find how to access a folder's Sync Filter.
This is done from within an AddIn I'm writing: In the AddIn class: Outlook.NameSpace outlookNameSpace;
From the startup method:
outlookNameSpace = this.Application.GetNamespace("MAPI");
outlook.Folder folder = outlookNameSpace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
But I'm not sure how to access most of "folder" properties.
Upvotes: 0
Views: 266
Reputation: 66286
Folder synchronization properties are not programmatically accessible.
Upvotes: 1