Share via


MailEnabledRecipient.EmailAddressPolicyEnabled Property

Gets or sets a value that indicates whether applying email address policy is enabled.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property EmailAddressPolicyEnabled As Boolean
    Get
    Set
'Usage
Dim instance As MailEnabledRecipient
Dim value As Boolean

value = instance.EmailAddressPolicyEnabled

instance.EmailAddressPolicyEnabled = value
[ParameterAttribute(Mandatory = false)]
public bool EmailAddressPolicyEnabled { get; set; }

Property Value

Type: System.Boolean
true if applying email address policy is enabled, otherwise, false.