Bagikan melalui


Properti Patch.Sources

Properti Sumber menghitung semua sumber untuk instans patch. Properti ini memanggil MsiSourceListEnumSources dan mengembalikan array string, dan menerima jenis sumber sebagai argumen.

Properti ini bersifat hanya baca.

Sintaks

propVal = Patch.Sources

Nilai properti

Jenis sumber yang akan dijumlahkan. Nilainya bisa msiInstallSourceTypeNetwork (1) atau msiInstallSourceTypeURL (2).

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_IPatch didefinisikan sebagai 000C10A1-0000-0000-C000-000000000046

Lihat juga

Patch

MsiSourceListEnumSources

Tidak Didukung di Windows Installer 2.0 dan yang lebih lama