CmdletBase.ShouldProcessPackageUninstall Method
Namespace: Microsoft.PowerShell.OneGet.CmdLets
Assembly: Microsoft.PowerShell.OneGet (in Microsoft.PowerShell.OneGet.dll)
Usage
'Usage
Dim instance As CmdletBase
Dim packageName As String
Dim version As String
Dim returnValue As Boolean
returnValue = instance.ShouldProcessPackageUninstall(packageName, version)
Syntax
'Declaration
Public Overridable Function ShouldProcessPackageUninstall ( _
packageName As String, _
version As String _
) As Boolean
public virtual bool ShouldProcessPackageUninstall (
string packageName,
string version
)
public:
virtual bool ShouldProcessPackageUninstall (
String^ packageName,
String^ version
)
public boolean ShouldProcessPackageUninstall (
String packageName,
String version
)
public function ShouldProcessPackageUninstall (
packageName : String,
version : String
) : boolean
Parameters
- 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.
Platforms
Target Platforms
See Also
Reference
CmdletBase Class
CmdletBase Members
Microsoft.PowerShell.OneGet.CmdLets Namespace