Share via


SPContentDatabase.QueryFeatures-Methode (SPFeatureScope, Boolean)

Ruft alle Website - oder Web-bezogenen Funktionen, die aktualisiert werden müssen, oder all dies jedoch nicht, wie angegeben.

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

Syntax

'Declaration
Public Function QueryFeatures ( _
    scope As SPFeatureScope, _
    needsUpgrade As Boolean _
) As SPFeatureQueryResultCollection
'Usage
Dim instance As SPContentDatabase
Dim scope As SPFeatureScope
Dim needsUpgrade As Boolean
Dim returnValue As SPFeatureQueryResultCollection

returnValue = instance.QueryFeatures(scope, _
    needsUpgrade)
public SPFeatureQueryResultCollection QueryFeatures(
    SPFeatureScope scope,
    bool needsUpgrade
)

Parameter

  • needsUpgrade
    Typ: System.Boolean

    true nur die gewünschten Features enthalten, die aktualisiert werden müssen; false nur enthalten, die nicht aktualisiert werden müssen.

Rückgabewert

Typ: Microsoft.SharePoint.SPFeatureQueryResultCollection
Die Website oder Web-bezogenen Funktionen wie nach needsUpgradegefiltert.

Hinweise

scope muss die Website oder den Webdienst.

Siehe auch

Referenz

SPContentDatabase Klasse

SPContentDatabase-Member

QueryFeatures-Überladung

Microsoft.SharePoint.Administration-Namespace