SPSiteSubscriptionFeaturePack.Add Method
Adds a feature definition to the subscription feature pack.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function Add ( _
featureDefinition As SPFeatureDefinition _
) As Boolean
'Usage
Dim instance As SPSiteSubscriptionFeaturePack
Dim featureDefinition As SPFeatureDefinition
Dim returnValue As Boolean
returnValue = instance.Add(featureDefinition)
public bool Add(
SPFeatureDefinition featureDefinition
)
Parameters
featureDefinition
Type: Microsoft.SharePoint.Administration.SPFeatureDefinitionA SPFeatureDefinition object with the feature definition to add.
Return Value
Type: System.Boolean
true if the definition was added successfully.
See Also
Reference
SPSiteSubscriptionFeaturePack Class