RegisterWmiEventCommand.GetSourceObjectEventName Method
Represents the implementation of the GetSourceObjectEventName 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 String
returnValue = Me.GetSourceObjectEventName
Syntax
'Declaration
Protected Overrides Function GetSourceObjectEventName As String
protected override string GetSourceObjectEventName ()
protected:
virtual String^ GetSourceObjectEventName () override
protected String GetSourceObjectEventName ()
protected override function GetSourceObjectEventName () : String
Return Value
Returns String 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