Share via


PackageManagementService Members

Implements the features of the Package Management Service.There are two ways to obtain an interface to the PackageManagementService class. If the Host is consuming the PackageManagementService by linking to this assembly, then it is simplest to use the Instance method. If the Host has dynamically loaded this assembly, you can generate an instance of the PackageManagementService that implements an interface you supply by using the GetTypedInstance method.This element is introduced in Windows PowerShell 5.0.

The following tables list the members exposed by the PackageManagementService type.

Public Constructors

  Name Description
  PackageManagementService The constructor for the class.This element is introduced in Windows PowerShell 5.0.

Top

Public Properties

  Name Description
public property Instance Provides an interface to this PackageManagementService instance.This element is introduced in Windows PowerShell 5.0.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method GetTypedInstance Generates an interface to the PackageManagementService instance.This element is introduced in Windows PowerShell 5.0.
public method ToString  (Inherited from Object)

Top

Protected Methods

(see also Extension Methods)

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

Extension Methods

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)

Top

See Also

Reference

PackageManagementService Class
Microsoft.OneGet Namespace