This documentation is archived and is not being maintained.

ServiceControlManagerUtility::SetRestartsOnFailure Method (String, Int32, Int32)

Visual Studio 2013

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
void SetRestartsOnFailure(
	String^ serviceName, 
	int resetDays, 
	int delayMinutes
)

Parameters

serviceName
Type: System::String
resetDays
Type: System::Int32
delayMinutes
Type: System::Int32

Show: