Metode Patch.SourceListClearSource
Metode SourceListClearSource menghapus jaringan atau sumber URL. Metode ini memanggil MsiSourceListClearSource.
Sintaks
Patch.SourceListClearSource(
Type,
SourcePath
)
Parameter
-
Jenis
-
Jenis sumber yang akan dihapus.
-
MSISOURCETYPE_NETWORK
-
MSISOURCETYPE_URL
-
-
SourcePath
-
Jalur ke sumber yang akan dihapus.
Nilai kembali
Metode ini tidak mengembalikan nilai.
Persyaratan
Persyaratan | Nilai |
---|---|
Versi |
Windows Installer 5.0 di Windows Server 2012, Windows 8, Windows Server 2008 R2 atau Windows 7. Windows Installer 4.0 atau Windows Installer 4.5 di Windows Server 2008 atau Windows Vista. Windows Installer 3.0 atau yang lebih baru pada Windows Server 2003, Windows XP, dan Windows 2000 |
DLL |
|
IID |
IID_IPatch didefinisikan sebagai 000C10A1-0000-0000-C000-000000000046 |
Lihat juga