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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- hostId
Type: System.Guid
- reason
Type: System.String
- timeout
Type: System.TimeSpan
Return Value
Type: System.Boolean
.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.