Show All

# DAVAdapter Object

Represents a connection to submit form information to a Microsoft Windows SharePoint Services server, or other servers that support DAV connections.

## Remarks

Use the Item property of the DataAdapters collection to return a DAVAdapter object.

Note This object model member is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Service Pack 1 or later is not installed. Any form that implements this object model member in its code will generate an error message if it is opened in InfoPath when service pack features are disabled or unavailable.

## Using the DAVAdapter object

The DAVAdapter object contains the following properties:

Property | Description
--- | ---
FileName | Returns or sets the file name for the current Microsoft Office InfoPath 2003 form when it is submitted by the DAVAdapter object.
FolderURL | Returns or sets the the Uniform Resource Locator (URL) to which the form will be submitted by the DAVAdapter object.
Name | Returns the name of a DAVAdapter object.
QueryAllowed | Corresponds to the queryAllowed attribute in the form definition file (.xsf). Always returns False for the DAVAdapter object.
SubmitAllowed | Corresponds to the submitAllowed attribute in the form definition file (.xsf). Always returns True for the DAVAdapter object.

The DAVAdapter object contains the following methods:

Method | Description
--- | ---
Query | Because the DAVAdapter object is available for submitting data only, this method will always generate a run-time error when it is called on that object.
Submit | Executes the submit operation on the associated adapter.
SubmitData | Submits the specified DOM element or DOM document to a data adapter.

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp