EnvironmentVariableExtension.SetEnvironmentVariable Method
Namespace: Microsoft.TeamFoundation.Build.Activities.Extensions
Assembly: Microsoft.TeamFoundation.Build.Activities (in Microsoft.TeamFoundation.Build.Activities.dll)
Syntax
'Declaration
Public Sub SetEnvironmentVariable ( _
name As String, _
value As Object _
)
public void SetEnvironmentVariable(
string name,
Object value
)
public:
virtual void SetEnvironmentVariable(
String^ name,
Object^ value
) sealed
abstract SetEnvironmentVariable :
name:string *
value:Object -> unit
override SetEnvironmentVariable :
name:string *
value:Object -> unit
public final function SetEnvironmentVariable(
name : String,
value : Object
)
Parameters
- name
Type: System.String
- value
Type: System.Object
Implements
IEnvironmentVariableExtension.SetEnvironmentVariable(String, Object)
.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.
See Also
Reference
EnvironmentVariableExtension Class
Microsoft.TeamFoundation.Build.Activities.Extensions Namespace