SharingItem.Type (Outlook)

Returns or sets an OlSharingMsgType constant that indicates the type of sharing message represented by the SharingItem. Possible return values are olSharingMsgTypeInvite - Represents a sharing invitation, olSharingMsgTypeInviteAndRequest - Represents both a sharing invitation and a sharing request, olSharingMsgTypeRequest - Represents a sharing request, olSharingMsgTypeResponseAllow - Represents a sharing response, which indicates that a sharing request or sharing invitation has been allowed, olSharingMsgTypeResponseDeny - Represents a sharing response, which indicates that a sharing request or sharing invitation has been denied, olSharingMsgTypeUnknown - Represents an unknown type of sharing message.

An error occurs if you attempt to set this property after the sharing message has been sent or received, or if you attempt to set this property to olSharingMsgTypeResponseAllow or olSharingMsgTypeResponseDeny.


Session.CreateSharingItem.Type = olSharingMsgTypeInvite