2.2.4.2.2.1 MajorObject
The MajorObject complex type represents a choice between the objects that can be created or altered directly with a Create command or an Alter command. Any of the elements that are available within the xsd:choice element for MajorObject are referred to as "major objects" throughout this document.
-
<xsd:complexType name="MajorObject"> <xsd:choice> <xsd:element name="AggregationDesign" type="AggregationDesign"/> <xsd:element name="Assembly" type="Assembly"/> <xsd:element name="Cube" type="Cube"/> <xsd:element name="Database" type="Database"/> <xsd:element name="DataSource" type="DataSource"/> <xsd:element name="DataSourceView" type="DataSourceView"/> <xsd:element name="Dimension" type="Dimension"/> <xsd:element name="MdxScript" type="MdxScript"/> <xsd:element name="MeasureGroup" type="MeasureGroup"/> <xsd:element name="MiningModel" type="MiningModel"/> <xsd:element name="MiningStructure" type="MiningStructure"/> <xsd:element name="Partition" type="Partition"/> <xsd:element name="Permission" type="Permission"/> <xsd:element name="Perspective" type="Perspective"/> <xsd:element name="Role" type="Role"/> <xsd:element name="Server" type="Server"/> <xsd:element name="Trace" type="Trace"/> </xsd:choice> </xsd:complexType>
The following table specifies the elements that are included within the xsd:choice XSD schema element for MajorObject.
Element |
Section |
Description |
---|---|---|
AggregationDesign |
A complex type that specifies a group of aggregations for a measure group. |
|
Assembly |
A complex type that specifies a function library containing functions that are accessible by queries and scripts. |
|
Cube |
A complex type that specifies a cube. |
|
Database |
A complex type that specifies a database object. |
|
DataSource |
A complex type that represents a source of data that is available to a database. |
|
DataSourceView |
A complex type that specifies a view over the schema of a data source. |
|
Dimension |
A complex type that specifies a dimensions object. |
|
MdxScript |
A complex type that specifies a script defined in the Multidimensional Expressions (MDX) language that contains calculation definition. |
|
MeasureGroup |
A complex type that specifies a MeasureGroup object for a cube. |
|
MiningModel |
A complex type that specifies a mining model. |
|
MiningStructure |
A complex type that specifies a mining structure. |
|
Partition |
A complex type that specifies a partition of a measure group. |
|
Permission |
A complex type that specifies a set of permissions assigned to a role. |
|
Perspective |
A complex type that specifies a Perspective object for a cube. |
|
Role |
A complex type that specifies a role to which permissions can be assigned. |
|
Server |
A complex type that specifies a server instance. |
|
Trace |
A complex type that represents a trace object. A trace is a set of server events that can be subscribed to by a client. |
The following elements are common to all elements that are within the xsd:choice element for MajorObject. To avoid repetition, this table is not repeated for each element within xsd:choice.
Element |
Read-Only |
Default value |
Description |
---|---|---|---|
Name |
|
[Required] |
The object name. |
ID |
|
Defaults to Name. |
The object ID string. |
CreatedTimestamp |
Yes |
|
A timestamp for the time that the object was created. |
LastSchemaUpdate |
Yes |
|
A timestamp for the time that the schema was last updated. |
Description |
|
Empty |
The object description. |
Annotations |
|
Empty |
A collection of Annotation objects. |