This topic has not yet been rated - Rate this topic

SPFeatureDefinition.RootDirectory Property

Gets the full local path to the root folder of the Feature.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public string RootDirectory { get; }

Property Value

Type: System.String
A string that contains the path to the root folder, for example, C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\contentlightup.

Feature elements reside in the directory in which feature.xml resides or one of its subdirectories.

Reference

[M:Microsoft.SharePoint.Utilities.SPUtility.GetGenericSetupPath(System.String]
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ