IMappedFolder.DeploymentLocation 属性
获取或设置映射文件夹映射到的 SharePoint 位置。 此路径为 SharePoint 根目录的相对路径。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Property DeploymentLocation As String
Get
Set
string DeploymentLocation { get; set; }
属性值
类型:System.String
表示路径的字符串。
异常
异常 | 条件 |
---|---|
ArgumentException | 当路径设置为绝对路径、包含“...”或含有非法字符时发生。 |
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。