MailEnabledRecipient.PrimarySmtpAddress Property

Gets or sets the primary return SMTP address for the recipient.

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

Syntax

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

value = instance.PrimarySmtpAddress

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

Property Value

Type: Microsoft.Exchange.Data.SmtpAddress
The primary return SMTP address for the recipient.