Méthode Patch.SourceListClearSource

La méthode SourceListClearSource supprime une source de réseau ou d’URL. Cette méthode appelle MsiSourceListClearMediaDisk.

Syntaxe

Patch.SourceListClearSource(
  Type,
  SourcePath
)

Paramètres

Type

Type de source à supprimer.

MSISOURCETYPE_NETWORK

MSISOURCETYPE_URL

SourcePath

Chemin de la source à supprimer.

Valeur retournée

Cette méthode ne retourne pas de valeur.

Configuration requise

Condition requise Valeur
Version
Windows Installer 5.0 sur Windows Server 2012, Windows 8, Windows Server 2008 R2 ou Windows 7. Windows Installer 4.0 ou Windows Installer 4.5 sur Windows Server 2008 ou Windows Vista. Windows Installer 3.0 (ou version ultérieure) sur Windows Server 2003, Windows XP et Windows 2000.
DLL
Msi.dll
IID
IID_IPatch est défini en tant que 000C10A1-0000-0000-C000-000000000046

Voir aussi

Correctif

MsiSourceListClearSource

Non pris en charge par Windows Installer 2.0 et antérieur