SPWebApplication.QueryFeatures method

Retrieves all features for the current Web application that have the specified scope and characteristics including feature identifier and requirement for upgrade.

Overload list

  Name Description
Public method QueryFeatures(Guid) Retrieves all features in the current Web application that are scoped to Site or Web and have the specified feature identifier.
Public method QueryFeatures(SPFeatureScope, Boolean) Retrieves all features in the current Web application that are scoped to Site or Web and have a specific needsUpgrade state.
Public method QueryFeatures(Guid, Boolean) Retrieves all features in the current Web application that are scoped to Site or Web and have the specified feature identifier and requirement for upgrade.
Public method QueryFeatures(Guid, Version) Retrieves all features in the current Web application that are scoped to Site or Web and have the specified feature and version identifiers.

Top

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace