LiveDnsCore.CreateSrvRecordAsync 方法 (String, String, UInt32, UInt16, UInt16, UInt16, String, Boolean)

此 API 不兼容 CLS。 

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

语法

声明
<CLSCompliantAttribute(False)> _
Public Sub CreateSrvRecordAsync ( _
    zoneName As String, _
    ownerName As String, _
    ttl As UInteger, _
    priority As UShort, _
    weight As UShort, _
    port As UShort, _
    target As String, _
    deleteExisting As Boolean _
)
[CLSCompliantAttribute(false)]
public void CreateSrvRecordAsync(
    string zoneName,
    string ownerName,
    uint ttl,
    ushort priority,
    ushort weight,
    ushort port,
    string target,
    bool deleteExisting
)

参数

.NET Framework 安全性

请参见

参考

LiveDnsCore 类

CreateSrvRecordAsync 重载

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