IWdsTransportConfigurationManager::RestartWdsTransportServices method (wdstptmgmt.h)

Stops and then restarts any WDS transport services that are running. If no services are running, the method returns with S_OK without further action.

Syntax

HRESULT RestartWdsTransportServices();

Return value

Standard HRESULT error values are used: S_OK for success; others for failure.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wdstptmgmt.h
DLL Wdstptmgmt.dll

See also

IWdsTransportConfigurationManager