HostedBuildPoolWebService.RegisterBuildMachine Method
Namespace: Microsoft.TeamFoundation.Build.Hosted.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function RegisterBuildMachine ( _
poolName As String, _
roleInstanceName As String, _
computerName As String, _
poolAuthToken As Byte() _
) As BuildMachineInfo
[WebMethodAttribute]
public BuildMachineInfo RegisterBuildMachine(
string poolName,
string roleInstanceName,
string computerName,
byte[] poolAuthToken
)
[WebMethodAttribute]
public:
BuildMachineInfo^ RegisterBuildMachine(
String^ poolName,
String^ roleInstanceName,
String^ computerName,
array<unsigned char>^ poolAuthToken
)
[<WebMethodAttribute>]
member RegisterBuildMachine :
poolName:string *
roleInstanceName:string *
computerName:string *
poolAuthToken:byte[] -> BuildMachineInfo
public function RegisterBuildMachine(
poolName : String,
roleInstanceName : String,
computerName : String,
poolAuthToken : byte[]
) : BuildMachineInfo
Parameters
- poolName
Type: System.String
- roleInstanceName
Type: System.String
- computerName
Type: System.String
- poolAuthToken
Type: array<System.Byte[]
Return Value
Type: Microsoft.TeamFoundation.Build.Hosted.Server.BuildMachineInfo
.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.