Share via


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
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.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.

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 Namespace