IEnsureMachineExistsExtension.EnsureMachineExists Method
Ensure that the machine that is hosting the TFS services is registered in the catalog.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub EnsureMachineExists ( _
requestContext As TeamFoundationRequestContext, _
processId As Guid, _
machineName As String, _
ByRef machineId As Guid _
)
void EnsureMachineExists(
TeamFoundationRequestContext requestContext,
Guid processId,
string machineName,
ref Guid machineId
)
void EnsureMachineExists(
TeamFoundationRequestContext^ requestContext,
Guid processId,
String^ machineName,
Guid% machineId
)
abstract EnsureMachineExists :
requestContext:TeamFoundationRequestContext *
processId:Guid *
machineName:string *
machineId:Guid byref -> unit
function EnsureMachineExists(
requestContext : TeamFoundationRequestContext,
processId : Guid,
machineName : String,
machineId : Guid
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- processId
Type: System.Guid
- machineName
Type: System.String
- machineId
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.