LiveDnsCore.CreateSrvRecord 方法

此 API 不兼容 CLS。 

命名空间:  Microsoft.TeamFoundation.Framework.Server.Alm
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
<SoapDocumentMethodAttribute("http://livednscore.Live.com/CreateSrvRecord", RequestNamespace := "http://livednscore.Live.com/",  _
    ResponseNamespace := "http://livednscore.Live.com/", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Wrapped)> _
<CLSCompliantAttribute(False)> _
Public Function CreateSrvRecord ( _
    zoneName As String, _
    ownerName As String, _
    ttl As UInteger, _
    priority As UShort, _
    weight As UShort, _
    port As UShort, _
    target As String, _
    deleteExisting As Boolean _
) As Guid
[SoapDocumentMethodAttribute("http://livednscore.Live.com/CreateSrvRecord", RequestNamespace = "http://livednscore.Live.com/", 
    ResponseNamespace = "http://livednscore.Live.com/", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Wrapped)]
[CLSCompliantAttribute(false)]
public Guid CreateSrvRecord(
    string zoneName,
    string ownerName,
    uint ttl,
    ushort priority,
    ushort weight,
    ushort port,
    string target,
    bool deleteExisting
)

参数

返回值

类型:System.Guid

.NET Framework 安全性

请参见

参考

LiveDnsCore 类

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