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: Int32The user count before the last restart.
.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.