Shutdown method of the Control class

Stops the collector. If the collector is running as a service, stopping the service is the better approach.

Syntax

void Shutdown();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\BootEventCollector
MOF
BootEventCollectorWMI.mof
DLL
BEvtCol.exe

See also

Control