Partager via


LoadTestLoadProfile.ScenarioName, propriété

Obtient ou définit le nom du scénario dans le test de charge que l'implémentation du profil de charge contrôle.

Espace de noms :  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly :  Microsoft.VisualStudio.QualityTools.LoadTestFramework (dans Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntaxe

'Déclaration
Public Property ScenarioName As String
    Get
    Friend Set
public string ScenarioName { get; internal set; }
public:
property String^ ScenarioName {
    String^ get ();
    internal: void set (String^ value);
}
member ScenarioName : string with get, internal set
function get ScenarioName () : String
internal function set ScenarioName (value : String)

Valeur de propriété

Type : System.String
Nom du scénario dans le test de charge que l'implémentation du profil de charge contrôle.

Notes

Les modifications des propriétés doivent toutes être apportées avant d'assigner un profil au LoadProfileproperty(). Pour obtenir un exemple, consultez LoadTestGoalBasedLoadProfile.

Sécurité .NET Framework

Voir aussi

Référence

LoadTestLoadProfile Classe

Microsoft.VisualStudio.TestTools.LoadTesting, espace de noms

LoadTestScenario

LoadTestGoalBasedLoadProfile