Share via


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
[<System.Runtime.InteropServices.Guid("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")>]
type AttributeRelationship = class
    inherit ModelComponent
    interface ICloneable
Public NotInheritable Class AttributeRelationship
Inherits ModelComponent
Implements ICloneable
Inheritance
AttributeRelationship
Attributes
Implements

Constructors

AttributeRelationship()

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

AttributeRelationship(String)

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

Properties

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.

FriendlyName

Gets the friendly name of the ModelComponent.

(Inherited from ModelComponent)
KeyForCollection

Gets the key used in collections.

(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 DimensionAttribute object of the AttributeRelationship object.

ParentDatabase

Gets the parent Database object of the AttributeRelationship object.

ParentDimension

Gets the parent Dimension object of the AttributeRelationship object.

ParentServer

Gets the parent Server object of the AttributeRelationship object.

RelationshipType

Gets or sets the RelationshipType definition of the relationship.

Translations

Gets the translations collection for the current attribute relationship.

Visible

Get or sets the current visibility of the attribute relationship.

Methods

AddToContainer(IContainer)

Adds the 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()

Returns a clone of the object.

CopyTo(AttributeRelationship)

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

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to an initial state.

(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, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.

(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)

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

(Inherited from ModelComponent)

Explicit Interface Implementations

ICloneable.Clone()
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to