AttributeRelationship AttributeRelationship AttributeRelationship Class

Definition

Provides details on the relationship between one attribute and another. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")]
public sealed class AttributeRelationship : Microsoft.AnalysisServices.ModelComponent, ICloneable
type AttributeRelationship = class
    inherit ModelComponent
    interface ICloneable
Public NotInheritable Class AttributeRelationship
Inherits ModelComponent
Implements ICloneable
Inheritance
AttributeRelationshipAttributeRelationshipAttributeRelationship
Attributes
Implements

Constructors

AttributeRelationship() AttributeRelationship() AttributeRelationship()

Initializes a new instance of the AttributeRelationship class using the default values.

AttributeRelationship(String) AttributeRelationship(String) AttributeRelationship(String)

Initializes a new instance of AttributeRelationship using the specified attribute identifier.

Properties

Annotations Annotations Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Attribute Attribute Attribute

Gets or sets the Attribute object to which the current relationship is being created.

AttributeID AttributeID AttributeID

Gets or sets the AttributeID for the current AttributeRelationship.

Cardinality Cardinality 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.

FriendlyName FriendlyName FriendlyName

Gets the friendly name of the ModelComponent.

(Inherited from ModelComponent)
IHostableComponent.Host IHostableComponent.Host IHostableComponent.Host Inherited from ModelComponent
IModelComponent.FriendlyPath IModelComponent.FriendlyPath IModelComponent.FriendlyPath Inherited from ModelComponent
IModelComponent.OwningCollection IModelComponent.OwningCollection IModelComponent.OwningCollection Inherited from ModelComponent
KeyForCollection KeyForCollection KeyForCollection

Gets the key used in collections.

(Inherited from ModelComponent)
Name Name Name

Gets or sets the name of the relationship.

Optionality Optionality Optionality

Gets or sets the Optionality definition of the relationship between parent attribute and current attribute.

OverrideBehavior OverrideBehavior OverrideBehavior

Gets or sets the OverrideBehavior definition of the relationship.

OwningCollection OwningCollection OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent Parent Parent

Gets the parent DimensionAttribute object of the AttributeRelationship object.

ParentDatabase ParentDatabase ParentDatabase

Gets the parent Database object of the AttributeRelationship object.

ParentDimension ParentDimension ParentDimension

Gets the parent Dimension object of the AttributeRelationship object.

ParentServer ParentServer ParentServer

Gets the parent Server object of the AttributeRelationship object.

RelationshipType RelationshipType RelationshipType

Gets or sets the RelationshipType definition of the relationship.

Translations Translations Translations

Gets the translations collection for the current attribute relationship.

Visible Visible Visible

Get or sets the current visibility of the attribute relationship.

Methods

AddToContainer(IContainer) AddToContainer(IContainer) AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32) AfterInsert(Int32) AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32) AfterMove(Int32, Int32) AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean) BeforeRemove(Boolean) BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone() Clone() Clone()

Returns a clone of the object.

CopyTo(AttributeRelationship) CopyTo(AttributeRelationship) CopyTo(AttributeRelationship)

Copies the content of this object to another object (the destination).

CopyTo(ModelComponent) CopyTo(ModelComponent) CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
RemoveFromContainer(IContainer) RemoveFromContainer(IContainer) RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset() Reset() Reset()

Resets the component to an initial state.

(Inherited from ModelComponent)
Submit() Submit() Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean) Submit(Boolean) Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection) Validate(ValidationErrorCollection) Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean) 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) Validate(ValidationErrorCollection, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.

(Inherited from ModelComponent)

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()

Applies to