Compartilhar via


SPFarm.FeatureDefinitions Property

Gets the collection of Feature definitions that are available in the server farm.

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

Syntax

'Declaration
Public ReadOnly Property FeatureDefinitions As SPFeatureDefinitionCollection
    Get
'Usage
Dim instance As SPFarm
Dim value As SPFeatureDefinitionCollection

value = instance.FeatureDefinitions
public SPFeatureDefinitionCollection FeatureDefinitions { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection
An SPFeatureDefinitionCollection object that represents the Feature definitions.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace

Other Resources

Using Features in SharePoint Foundation