SetPackageSource 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 SetPackageSource
Syntax
'Declaration
<CmdletAttribute("Set", "PackageSource", SupportsShouldProcess:=True, DefaultParameterSetName:="SourceBySearch")> _
Public NotInheritable Class SetPackageSource
Inherits CmdletWithProvider
[CmdletAttribute("Set", "PackageSource", SupportsShouldProcess=true, DefaultParameterSetName="SourceBySearch")]
public sealed class SetPackageSource : CmdletWithProvider
[CmdletAttribute(L"Set", L"PackageSource", SupportsShouldProcess=true, DefaultParameterSetName=L"SourceBySearch")]
public ref class SetPackageSource sealed : public CmdletWithProvider
/** @attribute CmdletAttribute("Set", "PackageSource", SupportsShouldProcess=true, DefaultParameterSetName="SourceBySearch") */
public final class SetPackageSource extends CmdletWithProvider
CmdletAttribute("Set", "PackageSource", SupportsShouldProcess=true, DefaultParameterSetName="SourceBySearch")
public final class SetPackageSource 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.SetPackageSource
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
SetPackageSource Members
Microsoft.PowerShell.OneGet.CmdLets Namespace