IAssemblyCache::UninstallAssembly Method
Uninstalls the specified assembly from the global assembly cache.
HRESULT UninstallAssembly (
[in] DWORD dwFlags,
[in] LPCWSTR pszAssemblyName,
[in] LPCFUSION_INSTALL_REFERENCE pRefData,
[out, optional] ULONG *pulDisposition
);
Parameters
dwFlags
[in] Flags defined in Fusion.idl.pszAssemblyName
[in] The name of the assembly to uninstall.pRefData
[in] A FUSION_INSTALL_REFERENCE structure that contains the installation data for the assembly.pulDisposition
[out, optional] One of the disposition values defined in Fusion.idl. Possible values include the following:IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED (1)
IASSEMBLYCACHE_UNINSTALL_DISPOSITION_STILL_IN_USE (2)
IASSEMBLYCACHE_UNINSTALL_DISPOSITION_ALREADY_UNINSTALLED (3)
IASSEMBLYCACHE_UNINSTALL_DISPOSITION_DELETE_PENDING (4)
IASSEMBLYCACHE_UNINSTALL_DISPOSITION_HAS_INSTALL_REFERENCES (5)
IASSEMBLYCACHE_UNINSTALL_DISPOSITION_REFERENCE_NOT_FOUND (6)
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Fusion.h
.NET Framework Version: 2.0