Export (0) Print
Expand All

Relationship Class

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

Object
  MarshalByRefObject
    Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.Relationship

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

[XmlRootAttribute(Namespace = "http://schemas.microsoft.com/analysisservices/2011/engine/300/300")]
public class Relationship : ModelComponent, 
	ICloneable

The Relationship type exposes the following members.

  NameDescription
Public methodRelationship()Initializes a new instance of the Relationship class.
Public methodRelationship(String)Initializes a new instance of the Relationship class using the specified identifier.
Top

  NameDescription
Public propertyAnnotationsGets a collection within which you can store custom data. (Inherited from ModelComponent.)
Protected propertyCanRaiseEvents (Inherited from Component.)
Public propertyContainer (Inherited from Component.)
Protected propertyDesignMode (Inherited from Component.)
Protected propertyEvents (Inherited from Component.)
Protected propertyFriendlyNameGets the friendly name of the specified relationship. (Overrides ModelComponent.FriendlyName.)
Public propertyFromRelationshipEndGets the cited XMLA validation failure and fixes it.
Public propertyIDGets or sets the identifier of the specified relationship.
Protected propertyKeyForCollectionGets the value of the key for the collection. (Overrides ModelComponent.KeyForCollection.)
Public propertyOwningCollectionGets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.)
Public propertyParentInfrastructure. Gets the IModelComponent object that is the parent of the ModelComponent object. (Inherited from ModelComponent.)
Public propertyProcessingStateGets or sets the processing state of the specified relationship.
Public propertySite (Inherited from Component.)
Public propertyToRelationshipEndGets the cited XMLA validation failure for the relationship.
Public propertyVisibleGets or sets a value that indicates whether the relationship is visible.
Top

  NameDescription
Protected methodAddToContainerInfrastructure. Adds a ModelComponent object to the specified container. (Inherited from ModelComponent.)
Protected methodAfterInsertInfrastructure. Displays a ModelComponent object after added to the specified index. (Inherited from ModelComponent.)
Protected methodAfterMoveInfrastructure. Displays a ModelComponent object after moving to the specified index. (Inherited from ModelComponent.)
Protected methodAfterRemoveInfrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (Inherited from ModelComponent.)
Protected methodBeforeRemoveInfrastructure. Removes the ModelComponent object before the cleanup. (Inherited from ModelComponent.)
Public methodCloneCreates a copy of the specified relationship.
Protected methodCopyTo(ModelComponent)Infrastructure. Copies a ModelComponent object to the specified object. (Inherited from ModelComponent.)
Public methodCopyTo(Relationship)Copies the specified relationship to a specific object.
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodDispose (Inherited from Component.)
Protected methodDispose(Boolean) (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodGetService (Inherited from Component.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodRemoveFromContainerInfrastructure. Removes a ModelComponent object from the specified container. (Inherited from ModelComponent.)
Protected methodResetInfrastructure. Resets the component to an initial state. (Inherited from ModelComponent.)
Public methodSubmit()Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.)
Public methodSubmit(Boolean)Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.)
Public methodToStringInfrastructure. Returns a string that represents the current object. (Inherited from ModelComponent.)
Public methodValidate(ValidationErrorCollection)Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.)
Public methodValidate(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.)
Public methodValidate(ValidationErrorCollection, Boolean, ServerEdition)Indicates whether a ModelComponent object is valid. (Inherited from ModelComponent.)
Top

  NameDescription
Public eventDisposed (Inherited from Component.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICloneableCloneCreates a new, full copy of an object.
Explicit interface implemetationPrivate propertyIHostableComponent.HostGets or sets the IServiceProvider that is the host of the ModelComponent. (Inherited from ModelComponent.)
Explicit interface implemetationPrivate propertyIModelComponent.FriendlyPathGets a friendly path for the ModelComponent. (Inherited from ModelComponent.)
Explicit interface implemetationPrivate propertyIModelComponent.OwningCollectionGets or sets the collection that owns the current object. (Inherited from ModelComponent.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft