ADOAdapter2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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::SemiTrust::ADOAdapter
[System.Runtime.InteropServices.Guid("096cd5d3-0786-11d1-95fa-0080c78ee3bb")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface ADOAdapter2 : Microsoft.Office.Interop.InfoPath.SemiTrust.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. |