Export (0) Print
Expand All

SPWebApplication.QueryFeatures method (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.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPFeatureQueryResultCollection QueryFeatures(
	Guid featureId,
	Version featureVersion
)

Parameters

featureId
Type: System.Guid

Identifier of the features to be retrieved.

featureVersion
Type: System.Version

Identifier of the version to be retrieved.

Return value

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

Community Additions

ADD
Show:
© 2014 Microsoft