IWithMXRecordMailExchange.WithMailExchange(String, Int32) 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.UpdateMXRecordSet.IUpdateMXRecordSet WithMailExchange (string mailExchangeHostName, int priority);
abstract member WithMailExchange : string * int -> Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.UpdateMXRecordSet.IUpdateMXRecordSet
Public Function WithMailExchange (mailExchangeHostName As String, priority As Integer) As IUpdateMXRecordSet

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