Share via


IPackageManagementService.SelectProvidersWithFeature Method (String)

This element is introduced in Windows PowerShell 5.0.

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

Usage

'Usage
Dim instance As IPackageManagementService
Dim featureName As String
Dim returnValue As IEnumerable(Of PackageProvider)

returnValue = instance.SelectProvidersWithFeature(featureName)

Syntax

'Declaration
Function SelectProvidersWithFeature ( _
    featureName As String _
) As IEnumerable(Of PackageProvider)
IEnumerable<PackageProvider> SelectProvidersWithFeature (
    string featureName
)
IEnumerable<PackageProvider^>^ SelectProvidersWithFeature (
    String^ featureName
)
IEnumerable<PackageProvider> SelectProvidersWithFeature (
    String featureName
)
function SelectProvidersWithFeature (
    featureName : String
) : IEnumerable<PackageProvider>

Parameters

  • featureName

Return Value

Returns IEnumerable.

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

IPackageManagementService Interface
IPackageManagementService Members
Microsoft.OneGet Namespace