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 安全性

请参见

参考

IMappedFolder 接口

Microsoft.VisualStudio.SharePoint 命名空间