ClearNetworkSources Method

DTF API

Copy image CopyHover image
Deployment Tools Foundation ClearNetworkSources Method
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSourceListClearNetworkSources()()()()
Removes all network sources from the list. URL sources are not affected.
Declaration Syntax
C# Visual Basic Visual C++ F#
public void ClearNetworkSources()
Public Sub ClearNetworkSources
public:
void ClearNetworkSources()
member ClearNetworkSources : unit -> unit 
Remarks

Win32 MSI API: MsiSourceListClearAllEx

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)