Model Class

 

Applies To: SQL Server 2016

A Tabular model created at compatibility level 1200 or above.

Namespace:   Microsoft.AnalysisServices.Tabular
Assembly:  Microsoft.AnalysisServices.Tabular (in Microsoft.AnalysisServices.Tabular.dll)


public ref class Model sealed : NamedMetadataObject

NameDescription
System_CAPS_pubmethodModel()

Constructor.

NameDescription
System_CAPS_pubpropertyAnnotations

Gets the collection object of all annotations in the current Model.

System_CAPS_pubpropertyCollation

Gets or sets the collation used on the object.

System_CAPS_pubpropertyCulture

Gets or sets the Culture object used for translation scenarios.

System_CAPS_pubpropertyCultures

Gets the collection object of all cultures in the current Model.

System_CAPS_pubpropertyDatabase

Gets the parent Database of the Model object.

System_CAPS_pubpropertyDataSources

Gets the collection object of all datasources in the current Model.

System_CAPS_pubpropertyDefaultDataView

Gets or sets the data view type used by default for partitions throughout the model.

System_CAPS_pubpropertyDefaultMode

Gets or sets the DefaultMode value inherited by sample and full data view partitions used throughout the model.

System_CAPS_pubpropertyDescription

Gets or sets the description of the object.

System_CAPS_pubpropertyHasLocalChanges

Gets or sets a value that indicates whether the model has local changes.

System_CAPS_pubpropertyIsRemoved

Gets or sets a value that indicates whether this object was removed from an object tree.(Inherited from MetadataObject.)

System_CAPS_pubpropertyModel

Gets the Tabular model of the object. (Inherited from MetadataObject.)

System_CAPS_pubpropertyModifiedTime

Gets the time that the object was last modified.

System_CAPS_pubpropertyName

Gets or sets the name property of the body of an object. (Overrides NamedMetadataObject::Name.)

System_CAPS_pubpropertyObjectType

Gets the type of the object. (Overrides MetadataObject::ObjectType.)

System_CAPS_pubpropertyParent

Gets or sets the parent object. Null for Model objects. (Overrides MetadataObject::Parent.)

System_CAPS_pubpropertyPerspectives

Gets the collection object of all perspectives in the current Model.

System_CAPS_pubpropertyRelationships

Gets the collection object of all relationships in the current Model.

System_CAPS_pubpropertyRoles

Gets the collection object of all roles in the current Model.

System_CAPS_pubpropertyServer

Gets the name of a server object, where the server is an Analysis Services tabular instance.

System_CAPS_pubpropertyStorageLocation

Reserved for future use.

System_CAPS_pubpropertyStructureModifiedTime

Gets the date and time when the structure was last modified.

System_CAPS_pubpropertyTables

Gets the collection object of all tables in the current Model.

NameDescription
System_CAPS_pubmethodClone()

Creates a new, full copy of a Model object.

System_CAPS_pubmethodCopyFrom(Model^)

Obsolete. Deprecated. Use CopyTo method instead.

System_CAPS_pubmethodCopyTo(Model^)

Copies a Model object to the specified object.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExecuteXmla(String^)

Executes an XMLA request and updates the model tree to match model's definition on the Server.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRefresh(RefreshType)

Obsolete. Deprecated. Use RequestRefresh method instead.

System_CAPS_pubmethodRefresh(RefreshType, ICollection<OverrideCollection^>^)

Obsolete. Deprecated. Use RequestRefresh method instead.

System_CAPS_pubmethodRename(String^)

Obsolete. Deprecated. Use RequestRename method instead.

System_CAPS_pubmethodRequestRefresh(RefreshType)

Request refresh of this object.

System_CAPS_pubmethodRequestRefresh(RefreshType, ICollection<OverrideCollection^>^)

Request refresh of this object with overrides.

System_CAPS_pubmethodRequestRename(String^)

Request rename of this object.

System_CAPS_pubmethodSaveChanges()

Saves the local changes made on the model tree to the version of the model residing in the database on the Server.

System_CAPS_pubmethodSaveChanges(SaveFlags)

Saves local modifications made on the model tree to the Server.

System_CAPS_pubmethodSaveChanges(SaveOptions^)

Saves local modifications made on model tree to the Server.

System_CAPS_pubmethodSync()

Synchronizes a local copy of the model tree to match the latest version stored on the Analysis Services instance.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUndoLocalChanges()

Reverts local changes made on the Model since the last time it was sync'ed with the Server.

System_CAPS_pubmethodValidate()

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.

Return to top
Show: