Sdílet prostřednictvím


IWithMXRecordMailExchange<ParentT>.WithMailExchange Method

Definition

Creates and assigns priority to a MX record with the provided mail exchange server in this record set.

public Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.Definition.IWithMXRecordMailExchangeOrAttachable<ParentT> WithMailExchange (string mailExchangeHostName, int priority);
abstract member WithMailExchange : string * int -> Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.Definition.IWithMXRecordMailExchangeOrAttachable<'ParentT>
Public Function WithMailExchange (mailExchangeHostName As String, priority As Integer) As IWithMXRecordMailExchangeOrAttachable(Of ParentT)

Parameters

mailExchangeHostName
String

The host name of the mail exchange server.

priority
Int32

The priority for the mail exchange host, lower the value higher the priority.

Returns

Applies to