Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores references to workbook connections and information about the tables and relationships contained within the Data Model.
public interface class Model
[System.Runtime.InteropServices.Guid("000244DB-0000-0000-C000-000000000046")] [System.Runtime.InteropServices.InterfaceType(2)] public interface Model
Public Interface Model
Returns an Application object that represents the Excel application. Read-only.
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Integer (int in C#).
Returns the model workbook connection object from the workbook connections collection which connects to the model.
Returns a collection of relationships between Data Model tables. Read-only
Returns a collection of tables inside the Data Model. Read-only
Returns a String (string in C#) value representing the name of the Model object. Read-only
Returns an Object that represents the parent object of the specified Model object. Read-only.
Adds a new Workbook Connection to the model with the same properties as the one supplied as an argument.
Initializes the Workbook’s Data Model. This is called by default the first time the model is used.
Refreshes all data sources associated with the model, fully reprocesses the model and updates all Excel data features associated with the Model.