Compartilhar via


SPWebService.QueryFeatures Method (Guid)

Gets all features in the Web service that have a specific feature ID.

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

Syntax

'Declaration
Public Function QueryFeatures ( _
    featureId As Guid _
) As SPFeatureQueryResultCollection
'Usage
Dim instance As SPWebService
Dim featureId As Guid
Dim returnValue As SPFeatureQueryResultCollection

returnValue = instance.QueryFeatures(featureId)
public SPFeatureQueryResultCollection QueryFeatures(
    Guid featureId
)

Parameters

  • featureId
    Type: System.Guid

    Only includes features with this feature ID.

Return Value

Type: Microsoft.SharePoint.SPFeatureQueryResultCollection
An SPFeatureQueryResultCollection object for iterating over all features in the Web service that have a specific feature ID.

See Also

Reference

SPWebService Class

SPWebService Members

QueryFeatures Overload

Microsoft.SharePoint.Administration Namespace