Deployment Tools Foundation
ClearNetworkSources Method
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► SourceList ► ClearNetworkSources()()()
Removes all network sources from the list. URL sources are not affected.

C# | Visual Basic | Visual C++ |
public void ClearNetworkSources()
Public Sub ClearNetworkSources
public: void ClearNetworkSources()

Win32 MSI API: MsiSourceListClearAllEx