Visual Basic (Declaration) | |
---|---|
Public Sub SetRestartOnFailure( _ ByVal restartAttempts As Integer, _ ByVal restartDelay As Integer, _ ByVal resetFailuresDelay As Integer _ ) |
C# | |
---|---|
public void SetRestartOnFailure( int restartAttempts, int restartDelay, int resetFailuresDelay ) |
Parameters
- restartAttempts
- restartDelay
- resetFailuresDelay
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
SvcControlManager ClassSvcControlManager Members