Get-RpEventHandlers¶
SYNOPSIS¶
Retrieves event handlers for the RemotePro connection profile UI.
SYNTAX¶
default (Default)¶
ByName¶
AllHandlers¶
DESCRIPTION¶
The Get-RpEventHandlers cmdlet returns the code for various event handlers associated with the RemotePro connection profile UI. It retrieves handlers stored in the `RemotePro.EventHandlers` object.
EXAMPLES¶
EXAMPLE 1¶
This example returns all the event handlers defined in the script.
EXAMPLE 2¶
This example retrieves the event handler associated with the "New Connection File (.xlsx)" button click event.
EXAMPLE 3¶
This example returns all the event handlers defined in the script.
PARAMETERS¶
-Name¶
The name of the specific event handler to retrieve. This parameter is mutually exclusive with the All parameter.
Type: String
Parameter Sets: ByName
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-All¶
A switch parameter that, when specified, returns all event handlers. This parameter is mutually exclusive with the Name parameter.
Type: SwitchParameter
Parameter Sets: AllHandlers
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.