DbCommand class

Office 2013 and later

Defines the DbCommand Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is x15:dbCommand.

Namespace:  DocumentFormat.OpenXml.Office2013.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class DbCommand : OpenXmlLeafElement

2.6.123 CT_DbCommand

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main

Referenced by: CT_OledbPr

The CT_DbCommand complex type specifies OLE DB command text that is used by a Model Data Source OLE DB connection.<99>

Attributes:

text: An attribute of type ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) that specifies OLE DB command text.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_DbCommand">

<xsd:attribute name="text" use="required" type="x:ST_Xstring"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: