Share via


IWebProjectManager.GetRemotePackages Method

Returns packages from remote repository where the default set of properties contain the specified search text.

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  System.Web.WebPages.Administration.PackageManager
Assembly:  System.Web.WebPages.Administration (in System.Web.WebPages.Administration.dll)

Syntax

'Declaration
Function GetRemotePackages ( _
    searchTerms As String, _
    filterPreferred As Boolean _
) As IQueryable(Of IPackage)
'Usage
Dim instance As IWebProjectManager 
Dim searchTerms As String 
Dim filterPreferred As Boolean 
Dim returnValue As IQueryable(Of IPackage)

returnValue = instance.GetRemotePackages(searchTerms, _
    filterPreferred)
IQueryable<IPackage> GetRemotePackages(
    string searchTerms,
    bool filterPreferred
)
IQueryable<IPackage^>^ GetRemotePackages(
    String^ searchTerms, 
    bool filterPreferred
)
abstract GetRemotePackages : 
        searchTerms:string * 
        filterPreferred:bool -> IQueryable<IPackage> 
function GetRemotePackages(
    searchTerms : String, 
    filterPreferred : boolean
) : IQueryable<IPackage>

Parameters

  • filterPreferred
    Type: System.Boolean
    true to enable filtering of ASP.Net web pages; otherwise, false.

Return Value

Type: System.Linq.IQueryable<IPackage>
The packages from remote repository.

See Also

Reference

IWebProjectManager Interface

System.Web.WebPages.Administration.PackageManager Namespace