Share via


LiveDnsCore.CreateMxRecord Method

This API is not CLS-compliant. 

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<SoapDocumentMethodAttribute("https://livednscore.Live.com/CreateMxRecord", RequestNamespace := "https://livednscore.Live.com/",  _
    ResponseNamespace := "https://livednscore.Live.com/", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function CreateMxRecord ( _
    zoneName As String, _
    ownerName As String, _
    ttl As UInteger, _
    mxHost As String, _
    mxPriority As UShort, _
    deleteExisting As Boolean _
) As Guid
[CLSCompliantAttribute(false)]
[SoapDocumentMethodAttribute("https://livednscore.Live.com/CreateMxRecord", RequestNamespace = "https://livednscore.Live.com/", 
    ResponseNamespace = "https://livednscore.Live.com/", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Wrapped)]
public Guid CreateMxRecord(
    string zoneName,
    string ownerName,
    uint ttl,
    string mxHost,
    ushort mxPriority,
    bool deleteExisting
)
[CLSCompliantAttribute(false)]
[SoapDocumentMethodAttribute(L"https://livednscore.Live.com/CreateMxRecord", RequestNamespace = L"https://livednscore.Live.com/", 
    ResponseNamespace = L"https://livednscore.Live.com/", Use = SoapBindingUse::Literal, 
    ParameterStyle = SoapParameterStyle::Wrapped)]
public:
Guid CreateMxRecord(
    String^ zoneName, 
    String^ ownerName, 
    unsigned int ttl, 
    String^ mxHost, 
    unsigned short mxPriority, 
    bool deleteExisting
)
[<CLSCompliantAttribute(false)>]
[<SoapDocumentMethodAttribute("https://livednscore.Live.com/CreateMxRecord", RequestNamespace = "https://livednscore.Live.com/", 
    ResponseNamespace = "https://livednscore.Live.com/", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Wrapped)>]
member CreateMxRecord : 
        zoneName:string * 
        ownerName:string * 
        ttl:uint32 * 
        mxHost:string * 
        mxPriority:uint16 * 
        deleteExisting:bool -> Guid
public function CreateMxRecord(
    zoneName : String, 
    ownerName : String, 
    ttl : uint, 
    mxHost : String, 
    mxPriority : ushort, 
    deleteExisting : boolean
) : Guid

Parameters

Return Value

Type: System.Guid
Returns Guid.

.NET Framework Security

See Also

Reference

LiveDnsCore Class

Microsoft.TeamFoundation.Framework.Server Namespace