IWithMXRecordMailExchange<ParentT>.WithMailExchange 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.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.