ObjectEventRegistrationBase.Forward Property

Gets and sets the value of the Forward parameter of the derived cmdlets. This property is introduced in Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As ObjectEventRegistrationBase
Dim value As SwitchParameter

value = instance.Forward

instance.Forward = value

public SwitchParameter Forward { get; set; }
/** @property */
public SwitchParameter get_Forward ()

/** @property */
public void set_Forward (SwitchParameter value)

public function get Forward () : SwitchParameter

public function set Forward (value : SwitchParameter)

Property Value

When the parameter is specified, the cmdlet sends events for this subscription to a remote session.

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


Target Platforms