AttributeRelationship Class
Updated: May 24, 2016
Provides details on the relationship between one attribute and another. This class cannot be inherited.
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
System::MarshalByRefObject
System.ComponentModel::Component
Microsoft.AnalysisServices::ModelComponent
Microsoft.AnalysisServices::AttributeRelationship
| 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 | Gets the friendly name of the ModelComponent.(Inherited from ModelComponent.) |
![]() | KeyForCollection | 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(IContainer^) | Adds a ModelComponent object to the specified container.(Inherited from ModelComponent.) |
![]() | AfterInsert(Int32) | Displays a ModelComponent object after added to the specified index.(Inherited from ModelComponent.) |
![]() | AfterMove(Int32, Int32) | Displays a ModelComponent object after moving to the specified index.(Inherited from ModelComponent.) |
![]() | AfterRemove(ModelComponentCollection^) | Displays a ModelComponentCollection after a ModelComponent object is removed.(Inherited from ModelComponent.) |
![]() | BeforeRemove(Boolean) | Removes the ModelComponent object before the cleanup.(Inherited from ModelComponent.) |
![]() | Clone() | Creates a new full copy of an object. |
![]() | CopyTo(AttributeRelationship^) | Creates a full copy of current AttributeRelationship into object passed as parameter. |
![]() | CreateObjRef(Type^) | (Inherited from MarshalByRefObject.) |
![]() | Dispose() | (Inherited from Component.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | GetType() | (Inherited from Object.) |
![]() | InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | RemoveFromContainer(IContainer^) | Removes a ModelComponent object from the specified container.(Inherited from ModelComponent.) |
![]() | Submit() | Submits a ModelComponent object.(Inherited from ModelComponent.) |
![]() | Submit(Boolean) | Submits a ModelComponent object.(Inherited from ModelComponent.) |
![]() | ToString() | 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 | (Inherited from ModelComponent.) |
![]() ![]() | IModelComponent::FriendlyPath | (Inherited from ModelComponent.) |
![]() ![]() | IModelComponent::OwningCollection | (Inherited from ModelComponent.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







