IDeployableFile.DeploymentRoot Property

Definition

Gets the base path where SharePoint will store the file.

public:
 property System::String ^ DeploymentRoot { System::String ^ get(); };
public string DeploymentRoot { get; }
member this.DeploymentRoot : string
Public ReadOnly Property DeploymentRoot As String

Property Value

A string value representing a file path.

Remarks

This value uses the following tokens:

Token Name Description
{SharePointRoot} The root of the SharePoint hive.
{FeatureName} The name of the feature in which the ProjectItem is included.
{ClassResourcePath} The class resource path on SharePoint. This value depends on whether the assembly is deployed to the Global Assembly Cache (GAC) or to a Web application.

Applies to