共用方式為


TeamFoundationHostManagementService.PauseHost Method

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'宣告
Public Function PauseHost ( _
    requestContext As TeamFoundationRequestContext, _
    hostId As Guid, _
    reason As String, _
    timeout As TimeSpan _
) As Boolean
public bool PauseHost(
    TeamFoundationRequestContext requestContext,
    Guid hostId,
    string reason,
    TimeSpan timeout
)
public:
bool PauseHost(
    TeamFoundationRequestContext^ requestContext, 
    Guid hostId, 
    String^ reason, 
    TimeSpan timeout
)
member PauseHost : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid * 
        reason:string * 
        timeout:TimeSpan -> bool 
public function PauseHost(
    requestContext : TeamFoundationRequestContext, 
    hostId : Guid, 
    reason : String, 
    timeout : TimeSpan
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TeamFoundationHostManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace