SPWebService.QueryFeaturesInAllWebServices Method (Guid)

Gets all features in all Web services 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 Shared Function QueryFeaturesInAllWebServices ( _
    featureId As Guid _
) As SPFeatureQueryResultCollection
'Usage
Dim featureId As Guid
Dim returnValue As SPFeatureQueryResultCollection

returnValue = SPWebService.QueryFeaturesInAllWebServices(featureId)
public static SPFeatureQueryResultCollection QueryFeaturesInAllWebServices(
    Guid featureId
)

Parameters

  • featureId
    Type: System.Guid

    Includes only those features that have this feature ID.

Return Value

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

See Also

Reference

SPWebService Class

SPWebService Members

QueryFeaturesInAllWebServices Overload

Microsoft.SharePoint.Administration Namespace