共用方式為


LiveDnsCore.UpdateSrvRecord 方法

此 API 不符合 CLS 標準。 

命名空間:  Microsoft.TeamFoundation.Framework.Server.Alm
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
<SoapDocumentMethodAttribute("http://livednscore.Live.com/UpdateSrvRecord", RequestNamespace := "http://livednscore.Live.com/",  _
    ResponseNamespace := "http://livednscore.Live.com/", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub UpdateSrvRecord ( _
    ownerName As String, _
    resourceRecordId As Guid, _
    ttl As UInteger, _
    priority As UShort, _
    weight As UShort, _
    port As UShort, _
    target As String _
)
[CLSCompliantAttribute(false)]
[SoapDocumentMethodAttribute("http://livednscore.Live.com/UpdateSrvRecord", RequestNamespace = "http://livednscore.Live.com/", 
    ResponseNamespace = "http://livednscore.Live.com/", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdateSrvRecord(
    string ownerName,
    Guid resourceRecordId,
    uint ttl,
    ushort priority,
    ushort weight,
    ushort port,
    string target
)

參數

.NET Framework 安全性

請參閱

參考

LiveDnsCore 類別

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