Installer.ClearSourceList 方法
Installer 对象的 ClearSourceList 方法可从源列表中移除所有网络源。
语法
Installer.ClearSourceList(
Product,
User
)
参数
-
Product
-
指定产品代码。
-
用户
-
对于每用户安装,为用户名;对于每计算机安装,为 null 或空字符串。
返回值
此方法不返回值。
要求
要求 | 值 |
---|---|
版本 |
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer |
DLL |
|
IID |
IID_IInstaller 定义为 000C1090-0000-0000-C000-000000000046 |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈