Partager via


_MailItem.PermissionService Property

Sets or returns an OlPermissionService constant that determines the permission service that will be used when sending a message protected by Information Rights Management (IRM). Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property PermissionService As OlPermissionService
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As OlPermissionService

value = instance.PermissionService

instance.PermissionService = value
[DispIdAttribute()]
OlPermissionService PermissionService { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlPermissionService

Remarks

This property is useful only if you have more than one permission identity for a particular SMTP address.

While you can view content that is protected by IRM on any computer running the 2007 Microsoft Office system or a later version, you must have Microsoft Office Professional Edition 2003, Microsoft Office Outlook 2007, or a later version of Outlook to create or send an e-mail that is protected by IRM.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace