ModelRelationship Interface
Definition
Important
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.
public interface class ModelRelationship
[System.Runtime.InteropServices.Guid("000244D9-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ModelRelationship
Public Interface ModelRelationship
- Attributes
Properties
Active |
When True, the relationship is active. When False, this relationship is inactive. Boolean (bool in C#). Read/Write |
Application |
Returns an Application object that represents the Excel application. Read-only. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Integer (int in C#). |
ForeignKeyColumn |
Contains the ModelTableColumn object representing the foreign key column on the many side of the one-to-many relationship. Read-only |
ForeignKeyTable |
Contains the ModelTable object representing the table on the many side of the one-to-many relationship. Read-only |
Parent |
Returns an Object (object in C#) that represents the parent object of the specified ModelRelationship object. Read-only. |
PrimaryKeyColumn |
Contains the ModelTableColumn object representing the primary key column in the table on the one side of the one-to-many relationship. |
PrimaryKeyTable |
Contains the ModelTable object representing the table on the one side of the one-to-many relationship. |
Methods
Delete() |
Deletes the relationship. |