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