2.2.4.24 AccessObject

Namespace: http://schemas.datacontract.org/2004/07/Microsoft.Office.Access.Services.Design

The complex type AccessObject 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="0" name="DefinitionNodeString" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="ID" type="xs:int"/>
     <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"/>
     <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Access.Services" minOccurs="0" name="ObjectType" type="q1:AccessObjectType"/>
     <xs:element minOccurs="0" name="ParentId" nillable="true" type="xs:int"/>
     <xs:element minOccurs="0" name="Version" nillable="true" type="xs:string"/>
   </xs:sequence>
 </xs:complexType>

DefinitionNodeString:  A string ([XMLSCHEMA2] section 3.2.1) that specifies the definition of the object. The contents 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.

Description:  See Description ([MS-AADT] section 2.2.4.1).

ID:  See ID ([MS-AADT] section 2.2.4.1).

Name:  See Name ([MS-AADT] 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".

ParentId:  See ParentId ([MS-AADT] section 2.2.4.1).

Version:  See Version ([MS-AADT] section 2.2.4.1).