LiveDnsCore.CreateMxRecord 方法
此 API 不兼容 CLS。
命名空间: Microsoft.TeamFoundation.Framework.Server.Alm
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
<SoapDocumentMethodAttribute("http://livednscore.Live.com/CreateMxRecord", RequestNamespace := "http://livednscore.Live.com/", _
ResponseNamespace := "http://livednscore.Live.com/", Use := SoapBindingUse.Literal, _
ParameterStyle := SoapParameterStyle.Wrapped)> _
<CLSCompliantAttribute(False)> _
Public Function CreateMxRecord ( _
zoneName As String, _
ownerName As String, _
ttl As UInteger, _
mxHost As String, _
mxPriority As UShort, _
deleteExisting As Boolean _
) As Guid
[SoapDocumentMethodAttribute("http://livednscore.Live.com/CreateMxRecord", RequestNamespace = "http://livednscore.Live.com/",
ResponseNamespace = "http://livednscore.Live.com/", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Wrapped)]
[CLSCompliantAttribute(false)]
public Guid CreateMxRecord(
string zoneName,
string ownerName,
uint ttl,
string mxHost,
ushort mxPriority,
bool deleteExisting
)
参数
- zoneName
类型:System.String
- ownerName
类型:System.String
- ttl
类型:System.UInt32
- mxHost
类型:System.String
- mxPriority
类型:System.UInt16
- deleteExisting
类型:System.Boolean
返回值
类型:System.Guid
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。