Export (0) Print
Expand All

PSEventSubscriber.SourceObject Property

Gets the object that raised the event. This property is introduced in Windows PowerShell 2.0.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As PSEventSubscriber
Dim value As Object

value = instance.SourceObject

public Object SourceObject { get; }
/** @property */
public Object get_SourceObject ()

public function get SourceObject () : Object

Property Value

The object that raised the event.

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

© 2015 Microsoft