2.2.5.1 Model Object
The Model object represents the Tabular data model. It is a child of the Database object as defined in [MS-SSAS]. All other Tabular metadata objects are descendants of the Model object.
The Model object has the following properties.
Name |
Type |
Description |
---|---|---|
ID |
unsignedLong |
A reference to the object. |
Name |
string |
The name of the object. |
Description |
string |
The description of the object. |
StorageLocation<3> |
string |
The location on disk to place the model. |
DefaultMode |
long |
The default method for making data available in the partition. |
DefaultDataView |
enumeration |
Determines which partitions are to be selected to run queries against the model. The possible values are as follows:
|
Culture |
string |
The culture name to use for formatting.<4> |
Collation |
string |
The collation sequence. |
ModifiedTime |
dateTime |
The time that the object was last modified. |
StructureModifiedTime |
dateTime |
The time that the structure of the object was last modified. |
Version |
long |
The current version of the Model object. The version number is incremented when any transaction on the Model is committed. This version number is set to 1 for any newly created Tabular databases and is always set to 1 for all Tabular databases when the server is restarted. |
DataAccessOptions<5> |
string |
A JSON property bag that contains the following three Boolean properties:
The default value for these Boolean properties is "false". Compatibility level 1400 or higher is required. |
DefaultMeasureID<6> |
unsignedLong |
An ID-based reference to the default measure of the Model object. Compatibility level 1400 or higher is required. |
ForceUniqueNames<7> |
boolean |
A Boolean that determines whether a measure can have the same name as any column in the model.
Compatibility level 1500 or higher is required. |
DiscourageImplicitMeasures<8> |
boolean |
A Boolean that determines whether to discourage the implicit measures.
Compatibility level 1500 or higher is required. |
DataSourceDefaultMaxConnections<9> |
int |
The default value for the MaxConnections property of the DataSource object when the object does not specify that value explicitly. Compatibility level 1600 or higher is required. |
SourceQueryCulture<10> |
string |
The name of the culture to be used when formatting during refresh through M. Compatibility level 1600 or higher is required. |
MAttributes<11> |
string |
A set of optional properties that can be used to define the literal attributes on the section members of the M queries. Compatibility level 1600 or higher is required. |
DiscourageCompositeModels<12> |
boolean |
A Boolean that indicates whether composite models usage is discouraged. Compatibility level 1600 or higher is required. |
AutomaticAggregationOptions<13> |
string |
A set of options for the automatic-aggregation subsystem. Compatibility level 1600 or higher is required. |
MaxParallelismPerRefresh<14> |
int |
The default value for number of concurrent jobs in data refresh. The command SEQUENCE can override the property using the MaxParallelism field. Compatibility level 1600 or higher is required. |
int |
The maximum degree of parallelism for a query when connecting to data sources using DirectQuery. Compatibility level 1600 or higher is required. |