IWithMXRecordMailExchange.WithoutMailExchange(String, Int32) Method

Definition

Removes MX record with the provided mail exchange server and priority from this record set.

public Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.UpdateMXRecordSet.IUpdateMXRecordSet WithoutMailExchange (string mailExchangeHostName, int priority);
abstract member WithoutMailExchange : string * int -> Microsoft.Azure.Management.Dns.Fluent.DnsRecordSet.UpdateMXRecordSet.IUpdateMXRecordSet
Public Function WithoutMailExchange (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