IWithMXRecordMailExchange.WithMailExchange(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.