2.2.4.2.2.6.3 PushedDataSource

The PushedDataSource complex type represents a chunk of tabular data being pushed into the server. This is in contrast to RelationalDataSource and OlapDataSource, where the server pulls the data by sending queries to the data source.

PushedDataSource cannot be specified in a Create or Alter command. It can be used only within a Process command. For more information, see section 3.1.4.3.2.1.1.6.

            
   <xsd:complexType name="PushedDataSource" >
     <xsd:all>
       <xsd:element name="root">
         <xsd:complexType>
           <xsd:attribute name="Parameter">
             <xsd:simpleType>
               <xsd:restriction base="xsd:string">
                 <xsd:enumeration value="InputRowset" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:attribute>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="EndOfData" >
         <xsd:complexType>
           <xsd:attribute name="Parameter" >
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="EndOfInputRowset" />
               </xsd:restriction>
             </xsd:simpleType>
           </xsd:attribute>
         </xsd:complexType>
       </xsd:element>
     </xsd:all>
   </xsd:complexType>

Element

Read-Only

Default value

Description

root

[Required]

The XML attribute "Parameter" MUST be present, and it MUST be set to the value "InputRowset". When using a PushedDataSource, the actual data will be contained in a "Parameter" that is used on the Execute method with name "InputRowset". For a description of how to use an Execute parameter, see section 3.1.4.3.2.1.3.1.

EndOfData

[Required]

The XML attribute "Parameter" MUST be present with this element, and its value MUST be set to "EndOfInputRowset". When using a PushedDataSource, the command MUST contain a parameter named "EndOfInputRowset", and its value MUST be set to true in order to signal an end of input data.