LoadTestLoadProfile.RestoreUserCountAfterRestart 方法
將目前的使用者計數還原到重新開機之前的值。
命名空間: Microsoft.VisualStudio.TestTools.LoadTesting
組件: Microsoft.VisualStudio.QualityTools.LoadTestFramework (在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)
語法
'宣告
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
)
參數
userCountToRestore
類型:Int32在上次重新啟動之前的使用者計數。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。