LiveDnsCore.CreateSrvRecord Method
This API is not CLS-compliant.
Namespace: Microsoft.TeamFoundation.Framework.Server.Alm
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<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
)
[SoapDocumentMethodAttribute(L"http://livednscore.Live.com/CreateSrvRecord", RequestNamespace = L"http://livednscore.Live.com/",
ResponseNamespace = L"http://livednscore.Live.com/", Use = SoapBindingUse::Literal,
ParameterStyle = SoapParameterStyle::Wrapped)]
[CLSCompliantAttribute(false)]
public:
Guid CreateSrvRecord(
String^ zoneName,
String^ ownerName,
unsigned int ttl,
unsigned short priority,
unsigned short weight,
unsigned short port,
String^ target,
bool deleteExisting
)
[<SoapDocumentMethodAttribute("http://livednscore.Live.com/CreateSrvRecord", RequestNamespace = "http://livednscore.Live.com/",
ResponseNamespace = "http://livednscore.Live.com/", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Wrapped)>]
[<CLSCompliantAttribute(false)>]
member CreateSrvRecord :
zoneName:string *
ownerName:string *
ttl:uint32 *
priority:uint16 *
weight:uint16 *
port:uint16 *
target:string *
deleteExisting:bool -> Guid
public function CreateSrvRecord(
zoneName : String,
ownerName : String,
ttl : uint,
priority : ushort,
weight : ushort,
port : ushort,
target : String,
deleteExisting : boolean
) : Guid
Parameters
- zoneName
Type: System.String
- ownerName
Type: System.String
- ttl
Type: System.UInt32
- priority
Type: System.UInt16
- weight
Type: System.UInt16
- port
Type: System.UInt16
- target
Type: System.String
- deleteExisting
Type: System.Boolean
Return Value
Type: System.Guid
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.