Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the base path where SharePoint will store the file.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
ReadOnly Property DeploymentRoot As String
string DeploymentRoot { get; }
Property Value
Type: System.String
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. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.