Request.RemoveEnvironmentVariable Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)

Usage

'Usage
Dim instance As Request
Dim variable As String
Dim context As Integer
Dim requestImpl As MarshalByRefObject

instance.RemoveEnvironmentVariable(variable, context, requestImpl)

Syntax

'Declaration
Public MustOverride Sub RemoveEnvironmentVariable ( _
    variable As String, _
    context As Integer, _
    requestImpl As MarshalByRefObject _
)
public abstract void RemoveEnvironmentVariable (
    string variable,
    int context,
    MarshalByRefObject requestImpl
)
public:
virtual void RemoveEnvironmentVariable (
    String^ variable, 
    int context, 
    MarshalByRefObject^ requestImpl
) abstract
public abstract void RemoveEnvironmentVariable (
    String variable, 
    int context, 
    MarshalByRefObject requestImpl
)
public abstract function RemoveEnvironmentVariable (
    variable : String, 
    context : int, 
    requestImpl : MarshalByRefObject
)

Parameters

  • variable
  • context
  • requestImpl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

Request Class
Request Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace