AttributeRelationship Class
SQL Server 2012
Provides details on the relationship between one attribute and another. This class cannot be inherited.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.AttributeRelationship
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.AttributeRelationship
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
The AttributeRelationship type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AttributeRelationship() | Initializes a new instance of the AttributeRelationship class using the default values. |
![]() | AttributeRelationship(String) | Initializes a new instance of AttributeRelationship using an identifier. |
| Name | Description | |
|---|---|---|
![]() | Annotations | Gets a collection within which you can store custom data. (Inherited from ModelComponent.) |
![]() | Attribute | Gets or sets the Attribute object to which the current relationship is being created. |
![]() | AttributeID | Gets or sets the AttributeID for the current AttributeRelationship. |
![]() | Cardinality | Gets or sets the cardinality of the relationship between the current parent attribute and the defined Attribute. Cardinality refers to the defined attribute, not the parent attribute. |
![]() | Container | (Inherited from Component.) |
![]() | FriendlyName | Infrastructure. Gets the friendly name of the ModelComponent. (Inherited from ModelComponent.) |
![]() | KeyForCollection | Infrastructure. Gets the key used in the collection. (Inherited from ModelComponent.) |
![]() | Name | Gets or sets the name of the relationship. |
![]() | Optionality | Gets or sets the Optionality definition of the relationship between parent attribute and current attribute. |
![]() | OverrideBehavior | Gets or sets the OverrideBehavior definition of the relationship. |
![]() | OwningCollection | Gets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.) |
![]() | Parent | Gets the parent Attribute for the current attribute relationship. |
![]() | ParentDatabase | Gets the ParentDatabase object for the current AttributeRelationship object. |
![]() | ParentDimension | Gets the ParentDimension object for the current AttributeRelationship object. |
![]() | ParentServer | Gets the ParentServer object for the current AttributeRelationship object. |
![]() | RelationshipType | Gets or sets the RelationshipType definition of the relationship. |
![]() | Site | (Inherited from Component.) |
![]() | Translations | Gets the translations collection for the current attribute relationship. |
![]() | Visible | Gest or sets the current visibility of the attribute relationship. |
| Name | Description | |
|---|---|---|
![]() | AddToContainer | Infrastructure. Adds a ModelComponent object to the specified container. (Inherited from ModelComponent.) |
![]() | AfterInsert | Infrastructure. Displays a ModelComponent object after added to the specified index. (Inherited from ModelComponent.) |
![]() | AfterMove | Infrastructure. Displays a ModelComponent object after moving to the specified index. (Inherited from ModelComponent.) |
![]() | AfterRemove | Infrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (Inherited from ModelComponent.) |
![]() | BeforeRemove | Infrastructure. Removes the ModelComponent object before the cleanup. (Inherited from ModelComponent.) |
![]() | Clone | Creates a new full copy of an object. |
![]() | CopyTo | Creates a full copy of current AttributeRelationship into object passed as parameter. |
![]() | CreateObjRef | Security Critical. (Inherited from MarshalByRefObject.) |
![]() | Dispose | (Inherited from Component.) |
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) |
![]() | GetType | (Inherited from Object.) |
![]() | InitializeLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) |
![]() | RemoveFromContainer | Infrastructure. Removes a ModelComponent object from the specified container. (Inherited from ModelComponent.) |
![]() | Submit() | Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.) |
![]() | Submit(Boolean) | Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.) |
![]() | ToString | Infrastructure. Returns a string that represents the current object. (Inherited from ModelComponent.) |
![]() | Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.) |
![]() | Validate(ValidationErrorCollection, Boolean) | Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (Inherited from ModelComponent.) |
![]() | Validate(ValidationErrorCollection, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. (Inherited from ModelComponent.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICloneable.Clone | Creates a copy of the object instance. |
![]() ![]() | IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Inherited from ModelComponent.) |
![]() ![]() | IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Inherited from ModelComponent.) |
![]() ![]() | IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Inherited from ModelComponent.) |


