RegisterWmiEventCommand.GetSourceObject Method
Represents the implementation of the GetSourceObject method of the Register-WmiEvent cmdlet. This method is introduced in Windows PowerShell 2.0.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim returnValue As Object
returnValue = Me.GetSourceObject
Syntax
'Declaration
Protected Overrides Function GetSourceObject As Object
protected override Object GetSourceObject ()
protected:
virtual Object^ GetSourceObject () override
protected Object GetSourceObject ()
protected override function GetSourceObject () : Object
Return Value
Returns Object object.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Register-WmiEvent in the Microsoft TechNet library.
For Help at the command line, type:
get-help register-wmievent
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
RegisterWmiEventCommand Class
RegisterWmiEventCommand Members
Microsoft.PowerShell.Commands Namespace