Bagikan melalui


Metode Product.SourceListClearSource

Metode SourceListClearSource menghapus jaringan atau sumber URL. Menerima Jenis, jenis sumber, dan SourcePath, jalur sumber, sebagai parameter yang akan dihapus. Metode ini memanggil MsiSourceListClearSource.

Sintaks

Product.SourceListClearSource(
  Type,
  SourcePath
)

Parameter

Jenis

Jenis sumber yang akan dihapus: MSISOURCETYPE_NETWORK atau 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
Msi.dll
IID
IID_IProduct didefinisikan sebagai 000C10A0-0000-0000-C000-00000000046

Lihat juga

Produk

MsiSourceListClearSource

Tidak Didukung di Windows Installer 2.0 dan yang lebih lama