LoadTestGoalBasedLoadProfile.RestoreUserCountAfterRestart Method
Restores the current (after restart) 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 Overrides Sub RestoreUserCountAfterRestart ( _
userCountToRestore As Integer _
)
public override void RestoreUserCountAfterRestart(
int userCountToRestore
)
public:
virtual void RestoreUserCountAfterRestart(
int userCountToRestore
) override
abstract RestoreUserCountAfterRestart :
userCountToRestore:int -> unit
override RestoreUserCountAfterRestart :
userCountToRestore:int -> unit
public override function RestoreUserCountAfterRestart(
userCountToRestore : int
)
Parameters
userCountToRestore
Type: Int32The user count before the restart that is used to update the current user count.
.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.