Share via


UninstallPackage Class

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.PowerShell.OneGet.CmdLets
Assembly: Microsoft.PowerShell.OneGet (in Microsoft.PowerShell.OneGet.dll)

Usage

'Usage
Dim instance As UninstallPackage

Syntax

'Declaration
<CmdletAttribute("Uninstall", "Package", SupportsShouldProcess:=True)> _
Public NotInheritable Class UninstallPackage
    Inherits GetPackage
[CmdletAttribute("Uninstall", "Package", SupportsShouldProcess=true)] 
public sealed class UninstallPackage : GetPackage
[CmdletAttribute(L"Uninstall", L"Package", SupportsShouldProcess=true)] 
public ref class UninstallPackage sealed : public GetPackage
/** @attribute CmdletAttribute("Uninstall", "Package", SupportsShouldProcess=true) */ 
public final class UninstallPackage extends GetPackage
CmdletAttribute("Uninstall", "Package", SupportsShouldProcess=true) 
public final class UninstallPackage extends GetPackage

Inheritance Hierarchy

System.Object
   System.Management.Automation.Internal.InternalCommand
     System.Management.Automation.Cmdlet
       System.Management.Automation.PSCmdlet
         Microsoft.OneGet.Utility.PowerShell.AsyncCmdlet
           Microsoft.PowerShell.OneGet.CmdLets.CmdletBase
             Microsoft.PowerShell.OneGet.CmdLets.CmdletWithProvider
               Microsoft.PowerShell.OneGet.CmdLets.CmdletWithSearch
                 Microsoft.PowerShell.OneGet.CmdLets.GetPackage
                  Microsoft.PowerShell.OneGet.CmdLets.UninstallPackage

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

UninstallPackage Members
Microsoft.PowerShell.OneGet.CmdLets Namespace