Request.ShouldProcessPackageUninstall Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.ServicesProvider.Common
Assembly: Microsoft.OneGet.ServicesProvider.Common (in Microsoft.OneGet.ServicesProvider.Common.dll)


Dim instance As Request
Dim packageName As String
Dim version As String
Dim returnValue As Boolean

returnValue = instance.ShouldProcessPackageUninstall(packageName, version)


Public MustOverride Function ShouldProcessPackageUninstall ( _
    packageName As String, _
    version As String _
) As Boolean
public abstract bool ShouldProcessPackageUninstall (
    string packageName,
    string version
virtual bool ShouldProcessPackageUninstall (
    String^ packageName, 
    String^ version
) abstract
public abstract boolean ShouldProcessPackageUninstall (
    String packageName, 
    String version
public abstract function ShouldProcessPackageUninstall (
    packageName : String, 
    version : String
) : boolean


  • packageName
  • version

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.


Target Platforms

See Also


Request Class
Request Members
Microsoft.OneGet.ServicesProvider.Common Namespace