_ExchangeDistributionList.PrimarySmtpAddress Property

Returns a String (string in C#) representing the primary Simple Mail Transfer Protocol (SMTP) address for the ExchangeDistributionList. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property PrimarySmtpAddress As String
    Get
'Usage
Dim instance As _ExchangeDistributionList
Dim value As String

value = instance.PrimarySmtpAddress
[DispIdAttribute()]
string PrimarySmtpAddress { get; }

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property PidTagEmailAddress.

Returns an empty string if this property has not been implemented or does not exist for the ExchangeDistributionList object.

See Also

Reference

_ExchangeDistributionList Interface

_ExchangeDistributionList Members

Microsoft.Office.Interop.Outlook Namespace