Relationship Relationship Relationship Class

Definition

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

public ref class Relationship : Microsoft::AnalysisServices::ModelComponent, ICloneable
[System.Xml.Serialization.XmlRoot(Namespace="http://schemas.microsoft.com/analysisservices/2011/engine/300/300")]
public class Relationship : Microsoft.AnalysisServices.ModelComponent, ICloneable
Public Class Relationship
Inherits ModelComponent
Implements ICloneable
Inheritance
Attributes
Implements

Constructors

Relationship() Relationship() Relationship()

Initializes a new instance of the Relationship class.

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 specified relationship.

FromRelationshipEnd FromRelationshipEnd FromRelationshipEnd

Gets the cited XMLA validation failure and fixes it.

ID ID ID

Gets or sets the identifier of the specified relationship.

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 value of the key for the collection.

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 specified relationship.

ToRelationshipEnd ToRelationshipEnd ToRelationshipEnd

Gets the cited XMLA validation failure for the relationship.

Visible Visible Visible

Gets or sets a value that indicates whether the relationship is visible.

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 copy of the specified relationship.

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 specified relationship to a specific object.

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 new, full copy of an object.

Applies to