Aracılığıyla paylaş


LoadTestConstantLoadProfile.MaxUserCount Özellik

Alır veya ayarlar en fazla kullanıcı sayısı. En fazla kullanıcı sayısı aynıdır UserCount için LoadTestConstantLoadProfile sınıfa

Ad alanı:  Microsoft.VisualStudio.TestTools.LoadTesting
Derleme:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll içinde)

Sözdizimi

'Bildirim
Public Overrides Property MaxUserCount As Integer
    Get
    Set
public override int MaxUserCount { get; set; }
public:
virtual property int MaxUserCount {
    int get () override;
    void set (int value) override;
}
abstract MaxUserCount : int with get, set
override MaxUserCount : int with get, set
override function get MaxUserCount () : int
override function set MaxUserCount (value : int)

Özellik Değeri

Tür: System.Int32
En fazla kullanıcı sayısı.

Açıklamalar

Herhangi birinin özelliklerini değiştirir LoadTestLoadProfile sınıfları tüm atölyeye atamak önce LoadTestLoadProfile itiraz LoadProfile özelliği LoadTestScenario. Sonra LoadTestLoadProfile nesne için atanmış LoadProfile özelliği, bu bir salt okunur sürümünü. duruma Salt okunur durumda olduğundan herhangi bir LoadProfile nesnesinin özelliklerini ayarlamaya çalışırsanız bir özel durum. Yeni bir yazılabilir LoadProfile nesne almak için Copy() yöntemi altında örnekte gösterildiği gibi call LoadTestGoalBasedLoadProfile.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

LoadTestConstantLoadProfile Sınıf

Microsoft.VisualStudio.TestTools.LoadTesting Ad Alanı