Skip to content

PackageSource PowerShell

Garrett Serack edited this page May 1, 2014 · 2 revisions

PackageSource class

public class PackageSource {
  public string Name { get; set; }
  public string Location { get; set; }
  public bool IsTrusted { get; set; }

  public Hashtable Options {get; set;}
}

A PackageSource.

Value Purpose
Name the friendly name of the package source
Location the location (uri,folder,etc) the package source points to
IsTrusted boolean indicating that the user trusts the package source
Options a set of key-value pairs that have the provider-specific options for the package source