共用方式為


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
)

參數

傳回值

型別:System.Guid

.NET Framework 安全性

請參閱

參考

LiveDnsCore 類別

Microsoft.TeamFoundation.Framework.Server.Alm 命名空間