2.2.4.1 AccessObject

Namespace: http://schemas.microsoft.com/office/Access/2010/11/Server/WebServices/ApplicationDesignService

Specifies information about an object in a database application.

 <xs:complexType name="AccessObject" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:sequence>
     <xs:element minOccurs="1" maxOccurs="1" name="ParentId" nillable="true" type="xs:int"/>
     <xs:element minOccurs="1" maxOccurs="1" name="Definition" nillable="true">
       <xs:complexType mixed="true">
         <xs:sequence>
           <xs:any/>
         </xs:sequence>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attribute name="ID" type="xs:int" use="required"/>
   <xs:attribute name="Name" type="xs:string"/>
   <xs:attribute name="ObjectType" type="tns:AccessObjectType" use="required"/>
   <xs:attribute name="Description" type="xs:string"/>
   <xs:attribute name="Version" type="xs:string"/>
 </xs:complexType>

ParentId: An int ([XMLSCHEMA2] section 3.3.17) that specifies the identifier of the parent object of this object. If not nil, MUST be the same value as the ID of another object in the database application. MUST be nil ([XMLSCHEMA1/2] section 2.7.2) if the object does not have a parent object.

Definition: This element specifies the definition of the object. The contents of this element MUST correspond to the ObjectType of this object, as specified in the following table.

Value of ObjectType attribute

Contents of Definition element

Table

MUST be a Schema element, as specified by [MC-CSDL] section 2.1.1. MUST include the annotations specified by [MS-AXL2] section 2.1.1.

Query

MUST be a Query element, as specified by [MS-AXL2] section 2.2.1.1.

DataMacro

MUST be a DataMacro element, as specified by [MS-AXL2] section 2.2.1.14.

Form

MUST be a FormDef element, as specified by [MS-AXL2] section 2.2.1.12.

UIMacro

MUST be a UserInterfaceMacro element, as specified by [MS-AXL2] section 2.2.1.5.

LinkedTable

MUST be a Schema element, as specified by [MC-CSDL] section 2.1.1. MUST include the annotations specified by [MS-AXL2] section 2.1.1.

ID: An int ([XMLSCHEMA2] section 3.3.17) that specifies the identifier of the object. MUST be a unique value among all objects within the database application.

Name: A string ([XMLSCHEMA2] section 3.2.1) that specifies the name of the object. MUST conform to ST_ObjectName ([MS-AXL2] section 2.2.4.1).

ObjectType: An AccessObjectType (section 2.2.5.1) that specifies the type of the object. MUST be one of "Table", "Query", "DataMacro", "Form", "UIMacro", or "LinkedTable".

Description: A string ([XMLSCHEMA2] section 3.2.1) that specifies a description of the object.

Version: A string ([XMLSCHEMA2] section 3.2.1) that specifies the version of the object.