CmdletBase.ShouldContinueWithUntrustedPackageSource Method

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

Usage

'Usage
Dim instance As CmdletBase
Dim package As String
Dim packageSource As String
Dim returnValue As Boolean

returnValue = instance.ShouldContinueWithUntrustedPackageSource(package, packageSource)

Syntax

'Declaration
Public Overridable Function ShouldContinueWithUntrustedPackageSource ( _
    package As String, _
    packageSource As String _
) As Boolean
public virtual bool ShouldContinueWithUntrustedPackageSource (
    string package,
    string packageSource
)
public:
virtual bool ShouldContinueWithUntrustedPackageSource (
    String^ package, 
    String^ packageSource
)
public boolean ShouldContinueWithUntrustedPackageSource (
    String package, 
    String packageSource
)
public function ShouldContinueWithUntrustedPackageSource (
    package : String, 
    packageSource : String
) : boolean

Parameters

  • package
  • packageSource

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