AttributeRelationship AttributeRelationship AttributeRelationship Class

Definition

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

public ref class AttributeRelationship sealed : Microsoft::AnalysisServices::ModelComponent, ICloneable
[System.ComponentModel.Designer("Microsoft.AnalysisServices.Design.MemberPropertyDesigner, Microsoft.AnalysisServices.Design", typeof(System.ComponentModel.Design.IDesigner))]
[System.Runtime.InteropServices.Guid("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")]
public sealed class AttributeRelationship : Microsoft.AnalysisServices.ModelComponent, 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 an 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

Gets or sets the IServiceProvider that is the host of the ModelComponent.

(Inherited from ModelComponent)
IModelComponent.FriendlyPath IModelComponent.FriendlyPath IModelComponent.FriendlyPath

Gets a friendly path for the ModelComponent.

(Inherited from ModelComponent)
IModelComponent.OwningCollection IModelComponent.OwningCollection IModelComponent.OwningCollection

Gets or sets the collection that owns the current object.

(Inherited from ModelComponent)
KeyForCollection KeyForCollection KeyForCollection

Gets the key used in the collection.

(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 Attribute for the current attribute relationship.

ParentDatabase ParentDatabase ParentDatabase

Gets the ParentDatabase object for the current AttributeRelationship object.

ParentDimension ParentDimension ParentDimension

Gets the ParentDimension object for the current AttributeRelationship object.

ParentServer ParentServer ParentServer

Gets the ParentServer object for the current 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

Gest or sets the current visibility of the attribute relationship.

Methods

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

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

Creates a new full copy of an object.

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

Creates a full copy of current AttributeRelationship into object passed as parameter.

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

Copies a ModelComponent object to the specified object.

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

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

Creates a copy of the object instance.

Applies to