2.2.4.1 AddonDataSource

Namespace: http://schemas.datacontract.org/2004/07/Microsoft.Office.Visio.Server.GraphicsServer

The AddonDataSource complex type contains information about a data provider implemented by a protocol client and used in a web drawing.

 <xs:complexType name="AddonDataSource" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:sequence>
     <xs:element minOccurs="0" name="ConnectionString" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="Data" nillable="true">
       <xs:complexType>
         <xs:sequence>
           <xs:element ref="xs:schema"/>
           <xs:any/>
         </xs:sequence>
       </xs:complexType>
     </xs:element>
     <xs:element minOccurs="0" name="Id" type="xs:int"/>
     <xs:element minOccurs="0" name="QueryString" nillable="true" type="xs:string"/>
   </xs:sequence>
 </xs:complexType>

ConnectionString: A string that specifies arguments that define the location of the data provider and how to connect to it. There MUST be exactly one instance of this element, and it MUST NOT be null. It MUST contain the fully qualified class name of the data provider.

Data: Specifies the data retrieved from the data provider. It MUST be encoded in the DiffGram [MS-DSDIFFGRAM] format, and it MUST NOT be null.

xs:schema: Specifies the schema for the Data element.

Id: An integer that specifies the identifier of this AddonDataSource. It MUST be greater than or equal to zero, and it MUST be unique across all the AddonDataSource elements in the containing ArrayOfAddonDataSource array (section 2.2.4.2).  There MUST be exactly one instance of this element.

QueryString: A string that specifies information used to call and retrieve data from the data provider. There MUST be exactly one instance of this element, and it MUST NOT be null.