SPWebService.QueryFeatures Method (Guid, Boolean)
SharePoint 2010
Gets all features in the Web service that have a specific feature ID and upgrade state.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Parameters
- featureId
- Type: System.Guid
Only includes features with this feature ID.
- needsUpgrade
- Type: System.Boolean
If true, then only features that need to be upgraded are included. Otherwise, if false, then only features that do not need to be upgraded are included.
Return Value
Type: Microsoft.SharePoint.SPFeatureQueryResultCollectionAn SPFeatureQueryResultCollection object for iterating over all features in the Web service that have a specific feature ID and needsUpgrade state.