PowerShellPackageProvider.RemovePackageSource Method

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 instance As PowerShellPackageProvider
Dim name As String
Dim requestImpl As Object

instance.RemovePackageSource(name, requestImpl)

Syntax

'Declaration
Public Sub RemovePackageSource ( _
    name As String, _
    requestImpl As Object _
)
public void RemovePackageSource (
    string name,
    Object requestImpl
)
public:
void RemovePackageSource (
    String^ name, 
    Object^ requestImpl
)
public void RemovePackageSource (
    String name, 
    Object requestImpl
)
public function RemovePackageSource (
    name : String, 
    requestImpl : Object
)

Parameters

  • name
  • requestImpl

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

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