Share via


LoadTestLoadProfile.RestoreUserCountAfterRestart Method

Restores the current user count to the value it had before the restart.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
Public Overridable Sub RestoreUserCountAfterRestart ( _
    userCountToRestore As Integer _
)
public virtual void RestoreUserCountAfterRestart(
    int userCountToRestore
)
public:
virtual void RestoreUserCountAfterRestart(
    int userCountToRestore
)
abstract RestoreUserCountAfterRestart : 
        userCountToRestore:int -> unit  
override RestoreUserCountAfterRestart : 
        userCountToRestore:int -> unit
public function RestoreUserCountAfterRestart(
    userCountToRestore : int
)

Parameters

  • userCountToRestore
    Type: Int32

    The user count before the last restart.

.NET Framework Security

See Also

Reference

LoadTestLoadProfile Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace