Relationship Relationship Relationship Class

Definition

Defines a one-to-many relationship between two dimensions.

public class Relationship : Microsoft.AnalysisServices.ModelComponent, ICloneable
type Relationship = class
    inherit ModelComponent
    interface ICloneable
Public Class Relationship
Inherits ModelComponent
Implements ICloneable
Inheritance
Implements

Remarks

Exists between two database tables when one table has a foreign key that references the primary key of another table.

Constructors

Relationship() Relationship() Relationship()

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

Relationship(String) Relationship(String) Relationship(String)

Initializes a new instance of the Relationship class using the specified identifier.

Properties

ActiveState ActiveState ActiveState

Gets or sets the active state of the object.

Annotations Annotations Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
CrossFilterDirection CrossFilterDirection CrossFilterDirection

Gets or sets the cross filter direction.

DefinitionType DefinitionType DefinitionType

Gets or sets the definition type of the current instance.

FriendlyName FriendlyName FriendlyName

Gets the friendly name of the Relationship object.

FromRelationshipEnd FromRelationshipEnd FromRelationshipEnd

Gets the source end of the relationship.

ID ID ID

Gets or sets the identifier of the relationship.

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 that is used in the collections.

OwningCollection OwningCollection OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent Parent Parent

Gets the IModelComponent object that is the parent of the ModelComponent object.

(Inherited from ModelComponent)
ProcessingState ProcessingState ProcessingState

Gets or sets the processing state of the relationship.

ToRelationshipEnd ToRelationshipEnd ToRelationshipEnd

Gets the target end of the relationship.

Visible Visible Visible

Gets or sets an indication whether the relationship is visible.

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

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(Relationship) CopyTo(Relationship) CopyTo(Relationship)

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

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