DAVAdapter.FolderURL 属性

获取或设置统一资源定位器 (URL),DAVAdapterObject 对象将向该 URL 提交表单。

命名空间:  Microsoft.Office.Interop.InfoPath.SemiTrust
程序集:  Microsoft.Office.Interop.InfoPath.SemiTrust(位于 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 中)

语法

声明
Property FolderURL As String
    Get
    Set
用法
Dim instance As DAVAdapter
Dim value As String

value = instance.FolderURL

instance.FolderURL = value
string FolderURL { get; set; }

属性值

类型:System.String

备注

如果 FolderURL 属性不以"http:"或"https:"前缀开头,DAVAdapter 对象的 Submit 方法将失败。如果由 FolderURL 属性指定的网站不可用,或 URL 与表单模板不在同一安全域中,Submit 方法也将失败。

重要

此成员只能由与当前打开的表单在相同域中运行的表单访问,或者由已授予跨域权限的表单访问。

示例

本示例说明如何使用 DAVAdapterObject 对象实例的 FolderURL 属性将文件夹更改为表单数据将被提交到的文件夹:

davAdapter.FolderURL = davAdapter.FolderURL + @"data\";

另请参阅

引用

DAVAdapter 接口

DAVAdapter 成员

Microsoft.Office.Interop.InfoPath.SemiTrust 命名空间