Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LoadTestLoadProfile::Copy Method ()

 

Returns a copy of the current object so it can be modified and assigned to the LoadTestScenario::LoadProfile property.

Namespace:   Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

public:
virtual LoadTestLoadProfile^ Copy()

Return Value

Type: Microsoft.VisualStudio.TestTools.LoadTesting::LoadTestLoadProfile^

A copy of the current object.

Changes to any of the properties of a LoadTestLoadProfile classes should all be made before you assign it to the LoadTestScenario::LoadProfile property. After the assignment, it is read-only. Use this method to get a writable copy of the object as shown in the example for LoadTestGoalBasedLoadProfile.

Return to top
Show: