Relationship Class
TOC
Collapse the table of content
Expand the table of content

Relationship Class

 

Applies To: SQL Server (starting with 2016)

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

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

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

public class Relationship : ModelComponent, ICloneable

NameDescription
System_CAPS_pubmethodRelationship()

Initializes a new instance of the Relationship class.

System_CAPS_pubmethodRelationship(String)

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

NameDescription
System_CAPS_pubpropertyActiveState

System_CAPS_pubpropertyAnnotations

Gets a collection within which you can store custom data.(Inherited from ModelComponent.)

System_CAPS_protpropertyCanRaiseEvents

(Inherited from Component.)

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_pubpropertyCrossFilterDirection

System_CAPS_pubpropertyDefinitionType

System_CAPS_protpropertyDesignMode

(Inherited from Component.)

System_CAPS_protpropertyEvents

(Inherited from Component.)

System_CAPS_protpropertyFriendlyName

Gets the friendly name of the specified relationship.(Overrides ModelComponent.FriendlyName.)

System_CAPS_pubpropertyFromRelationshipEnd

Gets the cited XMLA validation failure and fixes it.

System_CAPS_pubpropertyID

Gets or sets the identifier of the specified relationship.

System_CAPS_protpropertyKeyForCollection

Gets the value of the key for the collection.(Overrides ModelComponent.KeyForCollection.)

System_CAPS_pubpropertyOwningCollection

Gets or sets the collection that contains the ModelComponent.(Inherited from ModelComponent.)

System_CAPS_pubpropertyParent

Gets the IModelComponent object that is the parent of the ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubpropertyProcessingState

Gets or sets the processing state of the specified relationship.

System_CAPS_pubpropertySite

(Inherited from Component.)

System_CAPS_pubpropertyToRelationshipEnd

Gets the cited XMLA validation failure for the relationship.

System_CAPS_pubpropertyVisible

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

NameDescription
System_CAPS_protmethodAddToContainer(IContainer)

Adds a ModelComponent object to the specified container.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.(Inherited from ModelComponent.)

System_CAPS_protmethodBeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.(Inherited from ModelComponent.)

System_CAPS_pubmethodClone()

Creates a copy of the specified relationship.

System_CAPS_protmethodCopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.(Inherited from ModelComponent.)

System_CAPS_pubmethodCopyTo(Relationship)

Copies the specified relationship to a specific object.

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Component.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type)

(Inherited from Component.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodRemoveFromContainer(IContainer)

Removes a ModelComponent object from the specified container.(Inherited from ModelComponent.)

System_CAPS_protmethodReset()

Resets the component to an initial state.(Inherited from ModelComponent.)

System_CAPS_pubmethodSubmit()

Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethodSubmit(Boolean)

Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from ModelComponent.)

System_CAPS_pubmethodValidate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.(Inherited from ModelComponent.)

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

System_CAPS_pubmethodValidate(ValidationErrorCollection, Boolean, ServerEdition)

Indicates whether a ModelComponent object is valid.(Inherited from ModelComponent.)

NameDescription
System_CAPS_pubeventDisposed

(Inherited from Component.)

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

Return to top
Show:
© 2016 Microsoft