Share via


SPFeatureDefinitionCollection.Remove method (String, Int32)

Removal of the Feature definition with the specified relative manifest path and compatibility level from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    relativePathToFeatureManifest As String, _
    compatibilityLevel As Integer _
)
'Usage
Dim instance As SPFeatureDefinitionCollection
Dim relativePathToFeatureManifest As String
Dim compatibilityLevel As Integer

instance.Remove(relativePathToFeatureManifest, _
    compatibilityLevel)
public void Remove(
    string relativePathToFeatureManifest,
    int compatibilityLevel
)

Parameters

  • relativePathToFeatureManifest
    Type: System.String

    A string that contains the relative path to the manifest for the Feature.

See also

Reference

SPFeatureDefinitionCollection class

SPFeatureDefinitionCollection members

Remove overload

Microsoft.SharePoint.Administration namespace