Request.ShouldContinueWithUntrustedPackageSource Method

This element is introduced in Windows PowerShell 5.0.

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

Usage

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

returnValue = instance.ShouldContinueWithUntrustedPackageSource(package, packageSource)

Syntax

'Declaration
Public MustOverride Function ShouldContinueWithUntrustedPackageSource ( _
    package As String, _
    packageSource As String _
) As Boolean
public abstract bool ShouldContinueWithUntrustedPackageSource (
    string package,
    string packageSource
)
public:
virtual bool ShouldContinueWithUntrustedPackageSource (
    String^ package, 
    String^ packageSource
) abstract
public abstract boolean ShouldContinueWithUntrustedPackageSource (
    String package, 
    String packageSource
)
public abstract 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

Request Class
Request Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace