Share via


UninstallPackage.ShouldContinueRunningUninstallScript Method

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
Dim packageName As String
Dim version As String
Dim source As String
Dim scriptLocation As String
Dim returnValue As Boolean

returnValue = instance.ShouldContinueRunningUninstallScript(packageName, version, source, scriptLocation)

Syntax

'Declaration
Public Overrides Function ShouldContinueRunningUninstallScript ( _
    packageName As String, _
    version As String, _
    source As String, _
    scriptLocation As String _
) As Boolean
public override bool ShouldContinueRunningUninstallScript (
    string packageName,
    string version,
    string source,
    string scriptLocation
)
public:
virtual bool ShouldContinueRunningUninstallScript (
    String^ packageName, 
    String^ version, 
    String^ source, 
    String^ scriptLocation
) override
public boolean ShouldContinueRunningUninstallScript (
    String packageName, 
    String version, 
    String source, 
    String scriptLocation
)
public override function ShouldContinueRunningUninstallScript (
    packageName : String, 
    version : String, 
    source : String, 
    scriptLocation : String
) : boolean

Parameters

  • packageName
  • version
  • source
  • scriptLocation

Return Value

Returns Boolean.

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 Class
UninstallPackage Members
Microsoft.PowerShell.OneGet.CmdLets Namespace