AttributeRelationship Class

 

Updated: May 24, 2016

Provides details on the relationship between one attribute and another. This class cannot be inherited.

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

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

[GuidAttribute("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")]
public sealed class AttributeRelationship : ModelComponent, ICloneable

NameDescription
System_CAPS_pubmethodAttributeRelationship()

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

System_CAPS_pubmethodAttributeRelationship(String)

Initializes a new instance of AttributeRelationship using an identifier.

NameDescription
System_CAPS_pubpropertyAnnotations

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

System_CAPS_pubpropertyAttribute

Gets or sets the Attribute object to which the current relationship is being created.

System_CAPS_pubpropertyAttributeID

Gets or sets the AttributeID for the current AttributeRelationship.

System_CAPS_pubpropertyCardinality

Gets or sets the cardinality of the relationship between the current parent attribute and the defined Attribute. Cardinality refers to the defined attribute, not the parent attribute.

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_protpropertyFriendlyName

Gets the friendly name of the ModelComponent.(Inherited from ModelComponent.)

System_CAPS_protpropertyKeyForCollection

Gets the key used in the collection.(Inherited from ModelComponent.)

System_CAPS_pubpropertyName

Gets or sets the name of the relationship.

System_CAPS_pubpropertyOptionality

Gets or sets the Optionality definition of the relationship between parent attribute and current attribute.

System_CAPS_pubpropertyOverrideBehavior

Gets or sets the OverrideBehavior definition of the relationship.

System_CAPS_pubpropertyOwningCollection

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

System_CAPS_pubpropertyParent

Gets the parent Attribute for the current attribute relationship.

System_CAPS_pubpropertyParentDatabase

Gets the ParentDatabase object for the current AttributeRelationship object.

System_CAPS_pubpropertyParentDimension

Gets the ParentDimension object for the current AttributeRelationship object.

System_CAPS_pubpropertyParentServer

Gets the ParentServer object for the current AttributeRelationship object.

System_CAPS_pubpropertyRelationshipType

Gets or sets the RelationshipType definition of the relationship.

System_CAPS_pubpropertySite

(Inherited from Component.)

System_CAPS_pubpropertyTranslations

Gets the translations collection for the current attribute relationship.

System_CAPS_pubpropertyVisible

Gest or sets the current visibility of the attribute relationship.

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

System_CAPS_pubmethodCopyTo(AttributeRelationship)

Creates a full copy of current AttributeRelationship into object passed as parameter.

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodRemoveFromContainer(IContainer)

Removes a ModelComponent object from the specified container.(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: