Share via


_MailItem.Permission Property

Sets or returns an OlPermission constant that determines the permissions the recipients will have on the e-mail item. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property Permission As OlPermission
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As OlPermission

value = instance.Permission

instance.Permission = value
OlPermission Permission { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlPermission

Remarks

While you can view content that is protected by Information Rights Management (IRM) on any computer running Microsoft Office Standard 2007, you must have Microsoft Office Professional 2007, Microsoft Office Outlook 2007, or Microsoft Office Professional Edition 2003 to create or send an e-mail that is protected by IRM.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace