Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Relationship Class

 

Applies To: SQL Server 2016 Preview

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)


[XmlRootAttribute(Namespace = "http://schemas.microsoft.com/analysisservices/2011/engine/300/300")]
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_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_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

This API supports the product infrastructure and is not intended to be used directly from your code. 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)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a ModelComponent object to the specified container.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterInsert(Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Displays a ModelComponent object after added to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterMove(Int32, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Displays a ModelComponent object after moving to the specified index.(Inherited from ModelComponent.)

System_CAPS_protmethodAfterRemove(ModelComponentCollection)

This API supports the product infrastructure and is not intended to be used directly from your code. Displays a ModelComponentCollection after a ModelComponent object is removed.(Inherited from ModelComponent.)

System_CAPS_protmethodBeforeRemove(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the ModelComponent object before the cleanup.(Inherited from ModelComponent.)

System_CAPS_pubmethodClone()

Creates a copy of the specified relationship.

System_CAPS_protmethodCopyTo(ModelComponent)

This API supports the product infrastructure and is not intended to be used directly from your code. 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)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes a ModelComponent object from the specified container.(Inherited from ModelComponent.)

System_CAPS_protmethodReset()

This API supports the product infrastructure and is not intended to be used directly from your code. Resets the component to an initial state.(Inherited from ModelComponent.)

System_CAPS_pubmethodSubmit()

This API supports the product infrastructure and is not intended to be used directly from your code. Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethodSubmit(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Submits a ModelComponent object.(Inherited from ModelComponent.)

System_CAPS_pubmethodToString()

This API supports the product infrastructure and is not intended to be used directly from your code. 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.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICloneable.Clone()

Creates a new, full copy of an object.

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

Community Additions

Show:
© 2015 Microsoft