Bagikan melalui


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: Int32

    The user count before the restart that is used to update the current user count.

.NET Framework Security

See Also

Reference

LoadTestGoalBasedLoadProfile Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace