Aracılığıyla paylaş


LoadTestLoadProfile.MaxUserCount Özellik

Alır veya ayarlar tarafından döndürülen kullanıcı sayısı GetLoad yöntemi.

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

Sözdizimi

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

Özellik Değeri

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

Açıklamalar

Değişiklikleri özelliklerden herhangi biri için tüm atölyeye profile atamadan önce LoadProfileproperty(). Örnek için bkz. LoadTestGoalBasedLoadProfile.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

LoadTestLoadProfile Sınıf

Microsoft.VisualStudio.TestTools.LoadTesting Ad Alanı

LoadTestScenario

LoadTestGoalBasedLoadProfile