SPWebApplication.QueryFeatures Method (Guid)

Retrieves all features in the current Web application that are scoped to Site or Web and have the specified feature identifier.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public SPFeatureQueryResultCollection QueryFeatures(
	Guid featureId


Type: System.Guid

Identifier of the features to be retrieved.

Return Value

Type: Microsoft.SharePoint.SPFeatureQueryResultCollection
Returns an SPFeatureQueryResultCollection object that represents all features of a given scope and identifier.