SourceConnection class
Defines the SourceConnection Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:sourceConnection.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.Excel.SourceConnection
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.4.33 sourceConnection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
A sourceConnection element is a CT_SourceConnection type element, as specified in section 2.6.62, that specifies the name of a connection of the cache source element on a pivot cache. See section 2.2.4.5 for how this element integrates with the Office Open XML file formats specified in [ISO/IEC-29500-1].
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.
<xsd:element name="sourceConnection" type="CT_SourceConnection"/>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
2.6.62 CT_SourceConnection
Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main
Referenced by: sourceConnection
A complex type that stores the connection, which is specified by the CT_Connection element as specified in [ISO/IEC-29500-4] section A.2, that is associated with this pivot cache. The pivot cache MUST be associated with either an OLAP slicer cache or a Non-Worksheet PivotTable.
Attributes:
name: An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the name of the connection, which is specified by the name attribute of CT_Connection ([ISO/IEC-29500-4] section A.2) for the connection that is associated with this pivot cache. The length, in characters, of this value MUST be less than 65,536.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_SourceConnection">
<xsd:attribute name="name" type="x:ST_Xstring" use="required"/>
</xsd:complexType>
See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).