_SharingItem.OpenSharedFolder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens a shared folder offered by a sharing invitation.
public:
Microsoft::Office::Interop::Outlook::MAPIFolder ^ OpenSharedFolder();
public Microsoft.Office.Interop.Outlook.MAPIFolder OpenSharedFolder ();
Public Function OpenSharedFolder () As MAPIFolder
Returns
A Folder object that represents the shared folder.
Remarks
This method allows the recipient of a sharing invitation to open the shared folder offered by the sender. An error occurs if this method is called on a SharingItem object with a type property value other than olSharingMsgTypeInvite or olSharingMsgTypeInviteAndRequest, or if Outlook cannot connect to the shared folder.