TestRunConfiguration.SetTestEnvironment Method
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub SetTestEnvironment ( _
controllerName As String, _
testEnvironmentName As String _
)
public void SetTestEnvironment(
string controllerName,
string testEnvironmentName
)
public:
void SetTestEnvironment(
String^ controllerName,
String^ testEnvironmentName
)
member SetTestEnvironment :
controllerName:string *
testEnvironmentName:string -> unit
public function SetTestEnvironment(
controllerName : String,
testEnvironmentName : String
)
Parameters
- controllerName
Type: String
- testEnvironmentName
Type: String
.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.