Model Class
Applies To: SQL Server 2016
A Tabular model created at compatibility level 1200 or above.
Assembly: Microsoft.AnalysisServices.Tabular (in Microsoft.AnalysisServices.Tabular.dll)
Microsoft.AnalysisServices.Tabular::MetadataObject
Microsoft.AnalysisServices.Tabular::NamedMetadataObject
Microsoft.AnalysisServices.Tabular::Model
| Name | Description | |
|---|---|---|
![]() | Model() | Constructor. |
| Name | Description | |
|---|---|---|
![]() | Annotations | Gets the collection object of all annotations in the current Model. |
![]() | Collation | Gets or sets the collation used on the object. |
![]() | Culture | Gets or sets the Culture object used for translation scenarios. |
![]() | Cultures | Gets the collection object of all cultures in the current Model. |
![]() | Database | Gets the parent Database of the Model object. |
![]() | DataSources | Gets the collection object of all datasources in the current Model. |
![]() | DefaultDataView | Gets or sets the data view type used by default for partitions throughout the model. |
![]() | DefaultMode | Gets or sets the DefaultMode value inherited by sample and full data view partitions used throughout the model. |
![]() | Description | Gets or sets the description of the object. |
![]() | HasLocalChanges | Gets or sets a value that indicates whether the model has local changes. |
![]() | IsRemoved | Gets or sets a value that indicates whether this object was removed from an object tree.(Inherited from MetadataObject.) |
![]() | Model | Gets the Tabular model of the object. (Inherited from MetadataObject.) |
![]() | ModifiedTime | Gets the time that the object was last modified. |
![]() | Name | Gets or sets the name property of the body of an object. (Overrides NamedMetadataObject::Name.) |
![]() | ObjectType | Gets the type of the object. (Overrides MetadataObject::ObjectType.) |
![]() | Parent | Gets or sets the parent object. Null for Model objects. (Overrides MetadataObject::Parent.) |
![]() | Perspectives | Gets the collection object of all perspectives in the current Model. |
![]() | Relationships | Gets the collection object of all relationships in the current Model. |
![]() | Roles | Gets the collection object of all roles in the current Model. |
![]() | Server | Gets the name of a server object, where the server is an Analysis Services tabular instance. |
![]() | StorageLocation | Reserved for future use. |
![]() | StructureModifiedTime | Gets the date and time when the structure was last modified. |
![]() | Tables | Gets the collection object of all tables in the current Model. |
| Name | Description | |
|---|---|---|
![]() | Clone() | Creates a new, full copy of a Model object. |
![]() | CopyFrom(Model^) | Obsolete. Deprecated. Use CopyTo method instead. |
![]() | CopyTo(Model^) | Copies a Model object to the specified object. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | ExecuteXmla(String^) | Executes an XMLA request and updates the model tree to match model's definition on the Server. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Refresh(RefreshType) | Obsolete. Deprecated. Use RequestRefresh method instead. |
![]() | Refresh(RefreshType, ICollection<OverrideCollection^>^) | Obsolete. Deprecated. Use RequestRefresh method instead. |
![]() | Rename(String^) | Obsolete. Deprecated. Use RequestRename method instead. |
![]() | RequestRefresh(RefreshType) | Request refresh of this object. |
![]() | RequestRefresh(RefreshType, ICollection<OverrideCollection^>^) | Request refresh of this object with overrides. |
![]() | RequestRename(String^) | Request rename of this object. |
![]() | SaveChanges() | Saves the local changes made on the model tree to the version of the model residing in the database on the Server. |
![]() | SaveChanges(SaveFlags) | Saves local modifications made on the model tree to the Server. |
![]() | SaveChanges(SaveOptions^) | Saves local modifications made on model tree to the Server. |
![]() | Sync() | Synchronizes a local copy of the model tree to match the latest version stored on the Analysis Services instance. |
![]() | ToString() | (Inherited from Object.) |
![]() | UndoLocalChanges() | Reverts local changes made on the Model since the last time it was sync'ed with the Server. |
![]() | Validate() | Returns a Validate object. (Inherited from MetadataObject.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

