你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithMXRecordMailExchange.WithMailExchange(String, Int32) 方法

定义

在此记录集中使用提供的邮件交换服务器创建 MX 记录并为其分配优先级。

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

参数

mailExchangeHostName
String

邮件交换服务器的主机名。

priority
Int32

邮件交换主机的优先级,降低优先级越高的值。

返回

适用于