OleDbPrpoperties class

Office 2013 and later

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

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2013.Excel.OleDbPrpoperties

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

No code example is currently available or this language may not be supported.

2.6.124 CT_OledbPr

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

Referenced by: CT_Connection

The CT_OledbPr complex type specifies properties of a Model Data Source OLE DB connection.<100>

Child Elements:

dbTables: An element of type CT_DbTables (section 2.6.122) specifying the list of database tables that are used by this connection.

dbCommand: An element of type CT_DbCommand (section 2.6.123) specifying OLE DB command text that is used by this connection.

Attributes:

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

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

<xsd:complexType name="CT_OledbPr">

<xsd:choice minOccurs="1" maxOccurs="1">

<xsd:element name="dbTables" type="CT_DbTables"/>

<xsd:element name="dbCommand" type="CT_DbCommand"/>

</xsd:choice>

<xsd:attribute name="connection" use="optional" 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: