PSEventManager.GetEventSubscribers(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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