PackageSource Constructor (String, String, Boolean, Boolean, Hashtable)

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 name As String
Dim location As String
Dim isTrusted As Boolean
Dim isRegistered As Boolean
Dim details As Hashtable

Dim instance As New PackageSource(name, location, isTrusted, isRegistered, details)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    location As String, _
    isTrusted As Boolean, _
    isRegistered As Boolean, _
    details As Hashtable _
)
public PackageSource (
    string name,
    string location,
    bool isTrusted,
    bool isRegistered,
    Hashtable details
)
public:
PackageSource (
    String^ name, 
    String^ location, 
    bool isTrusted, 
    bool isRegistered, 
    Hashtable^ details
)
public PackageSource (
    String name, 
    String location, 
    boolean isTrusted, 
    boolean isRegistered, 
    Hashtable details
)
public function PackageSource (
    name : String, 
    location : String, 
    isTrusted : boolean, 
    isRegistered : boolean, 
    details : Hashtable
)

Parameters

  • name
  • location
  • isTrusted
  • isRegistered
  • details

Platforms

Target Platforms

See Also

Reference

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