Request.ShouldBootstrapProvider 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 requestor As String
Dim providerName As String
Dim providerVersion As String
Dim providerType As String
Dim location As String
Dim destination As String
Dim returnValue As Boolean

returnValue = instance.ShouldBootstrapProvider(requestor, providerName, providerVersion, providerType, location, destination)

Syntax

'Declaration
Public MustOverride Function ShouldBootstrapProvider ( _
    requestor As String, _
    providerName As String, _
    providerVersion As String, _
    providerType As String, _
    location As String, _
    destination As String _
) As Boolean
public abstract bool ShouldBootstrapProvider (
    string requestor,
    string providerName,
    string providerVersion,
    string providerType,
    string location,
    string destination
)
public:
virtual bool ShouldBootstrapProvider (
    String^ requestor, 
    String^ providerName, 
    String^ providerVersion, 
    String^ providerType, 
    String^ location, 
    String^ destination
) abstract
public abstract boolean ShouldBootstrapProvider (
    String requestor, 
    String providerName, 
    String providerVersion, 
    String providerType, 
    String location, 
    String destination
)
public abstract function ShouldBootstrapProvider (
    requestor : String, 
    providerName : String, 
    providerVersion : String, 
    providerType : String, 
    location : String, 
    destination : String
) : boolean

Parameters

  • requestor
  • providerName
  • providerVersion
  • providerType
  • location
  • destination

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