ADOAdapter2 Interface

Definition

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeADOAdapterObject.

public interface class ADOAdapter2 : Microsoft::Office::Interop::InfoPath::ADOAdapter
[System.Runtime.InteropServices.Guid("096CD5D3-0786-11D1-95FA-0080C78EE3BB")]
public interface ADOAdapter2 : Microsoft.Office.Interop.InfoPath.ADOAdapter
type ADOAdapter2 = interface
    interface ADOAdapter
Public Interface ADOAdapter2
Implements ADOAdapter
Derived
Attributes
Implements

Properties

Command

Gets or sets the SQL command string text for an ADOAdapterObject object.

Connection

Gets or sets the connection string used for an ADOAdapterObject object.

Name

Gets the name of an ADOAdapterObject object.

QueryAllowed

Returns true, corresponding to the queryAllowed attribute in the form definition file (.xsf).

SubmitAllowed

Returns a value corresponding to the submitAllowed attribute in the form definition file (.xsf).

Timeout

Gets or sets the timeout value for an ADOAdapterObject object.

Methods

BuildSQLFromXMLNodes(IXMLDOMNode)

Returns a SQL command text fragment using the specified XML node.

Query()

Reads data from the associated data adapter.

Submit()

Executes the submit operation on the associated data adapter.

Applies to