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: See .NET Framework System Requirements.
Header: Fusion.h
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0