Delen via


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

.NET Framework Security

See Also

Reference

IEnsureMachineExistsExtension Interface

Microsoft.TeamFoundation.Framework.Server Namespace