Share via


GetPackageSource Class

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.PowerShell.OneGet.CmdLets
Assembly: Microsoft.PowerShell.OneGet (in Microsoft.PowerShell.OneGet.dll)

Usage

'Usage
Dim instance As GetPackageSource

Syntax

'Declaration
<CmdletAttribute("Get", "PackageSource")> _
Public NotInheritable Class GetPackageSource
    Inherits CmdletWithProvider
[CmdletAttribute("Get", "PackageSource")] 
public sealed class GetPackageSource : CmdletWithProvider
[CmdletAttribute(L"Get", L"PackageSource")] 
public ref class GetPackageSource sealed : public CmdletWithProvider
/** @attribute CmdletAttribute("Get", "PackageSource") */ 
public final class GetPackageSource extends CmdletWithProvider
CmdletAttribute("Get", "PackageSource") 
public final class GetPackageSource extends CmdletWithProvider

Inheritance Hierarchy

System.Object
   System.Management.Automation.Internal.InternalCommand
     System.Management.Automation.Cmdlet
       System.Management.Automation.PSCmdlet
         Microsoft.OneGet.Utility.PowerShell.AsyncCmdlet
           Microsoft.PowerShell.OneGet.CmdLets.CmdletBase
             Microsoft.PowerShell.OneGet.CmdLets.CmdletWithProvider
              Microsoft.PowerShell.OneGet.CmdLets.GetPackageSource

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

GetPackageSource Members
Microsoft.PowerShell.OneGet.CmdLets Namespace