ObjectEventRegistrationBase.SupportEvent Property

Gets and sets the value of the SupportEvent 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)

'Usage
Dim instance As ObjectEventRegistrationBase
Dim value As SwitchParameter

value = instance.SupportEvent

instance.SupportEvent = value

[ParameterAttribute] 
public SwitchParameter SupportEvent { get; set; }
/** @property */
public SwitchParameter get_SupportEvent ()

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

public function get SupportEvent () : SwitchParameter

public function set SupportEvent (value : SwitchParameter)

Property Value

When the parameter is specified, the derived cmdlet hides the event subscription.

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


Show: