RegisterWmiEventCommand.Action Property
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in microsoft.powershell.commands.management.dll)
Usage
Syntax
'Declaration
<ParameterAttribute(Position:=3, ParameterSetName:="query")> _
<ParameterAttribute(Position:=3, ParameterSetName:="class")> _
Public Property Action As ScriptBlock
[ParameterAttribute(Position=3, ParameterSetName="query")]
[ParameterAttribute(Position=3, ParameterSetName="class")]
public ScriptBlock Action { get; set; }
[ParameterAttribute(Position=3, ParameterSetName=L"query")]
[ParameterAttribute(Position=3, ParameterSetName=L"class")]
public:
property ScriptBlock^ Action {
ScriptBlock^ get ();
void set (ScriptBlock^ value);
}
/** @property */
public ScriptBlock get_Action ()
/** @property */
public void set_Action (ScriptBlock value)
public function get Action () : ScriptBlock
public function set Action (value : ScriptBlock)
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
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP
See Also
Reference
RegisterWmiEventCommand Class
RegisterWmiEventCommand Members
Microsoft.PowerShell.Commands Namespace