Compartir a través de


PSEventManager.GetEventSubscribers(String) Method

Definition

Get the event subscription that corresponds to an identifier

public:
 abstract System::Collections::Generic::IEnumerable<System::Management::Automation::PSEventSubscriber ^> ^ GetEventSubscribers(System::String ^ sourceIdentifier);
public abstract System.Collections.Generic.IEnumerable<System.Management.Automation.PSEventSubscriber> GetEventSubscribers (string sourceIdentifier);
abstract member GetEventSubscribers : string -> seq<System.Management.Automation.PSEventSubscriber>
Public MustOverride Function GetEventSubscribers (sourceIdentifier As String) As IEnumerable(Of PSEventSubscriber)

Parameters

sourceIdentifier
String

The identifier that identifies the source of the events

Returns

Applies to