IHostApi.ShouldContinueWithUntrustedPackageSource Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Api
Assembly: Microsoft.OneGet (in Microsoft.OneGet.dll)

Usage

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

returnValue = instance.ShouldContinueWithUntrustedPackageSource(package, packageSource)

Syntax

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

IHostApi Interface
IHostApi Members
Microsoft.OneGet.Api Namespace