DAVAdapter.FolderURL property

Gets or sets the Uniform Resource Locator (URL) to which the form will be submitted by the DAVAdapterObject object.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Property FolderURL As String
    Get
    Set
'Usage
Dim instance As DAVAdapter
Dim value As String

value = instance.FolderURL

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

Property value

Type: System.String

Remarks

The Submit method of the DAVAdapter object will fail if the value of the FolderURL property does not begin with either the "http:" or the "https:" prefix. The Submit method will also fail if the site specified by the FolderURL property is not available, or if the URL is not in the same security domain as the form template.

Important

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

Examples

This example shows how to use the FolderURL property of an instance of the DAVAdapterObject object to change the folder to which the form data will be submitted:

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

See also

Reference

DAVAdapter interface

DAVAdapter members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace