Patch.SourceListClearAll 方法
Patch 对象的 SourceListClearAll 方法可清除修补程序指定类型的所有源的完整源列表。 接受 Type 作为参数。 此方法调用 MsiSourceListClearAllEx。
语法
Patch.SourceListClearAll(
Type
)
参数
-
类型
-
源类型的类型,例如网络、URL 或媒体。
返回值
此方法不返回值。
要求
要求 | 值 |
---|---|
版本 |
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 2000 上的 Windows Installer 3.0 或更高版本 |
DLL |
|
IID |
IID_IPatch 定义为 000C10A1-0000-0000-C000-000000000046 |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈