ITestRunBase.CopyTestSettings Method
Copy the test settings and associate it to the test run.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Sub CopyTestSettings ( _
settings As ITestSettings _
)
void CopyTestSettings(
ITestSettings settings
)
void CopyTestSettings(
ITestSettings^ settings
)
abstract CopyTestSettings :
settings:ITestSettings -> unit
function CopyTestSettings(
settings : ITestSettings
)
Parameters
settings
Type: Microsoft.TeamFoundation.TestManagement.Client.ITestSettingsTest Settings to save with run.
Remarks
This method copies settings object to the TestSettings property and set TestSettingsId to settings.Id. If settings.Id is zero, TestSettingsId will be zero, which means the run does not use a public test settings.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.