Export (0) Print
Expand All

AttributeRelationship Class

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

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

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

[DesignerAttribute("Microsoft.AnalysisServices.Design.MemberPropertyDesigner, Microsoft.AnalysisServices.Design", 
	typeof(IDesigner))]
[GuidAttribute("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")]
public sealed class AttributeRelationship : ModelComponent, 
	ICloneable

The AttributeRelationship type exposes the following members.

  NameDescription
Public methodAttributeRelationship()Initializes a new instance of the AttributeRelationship class using the default values.
Public methodAttributeRelationship(String)Initializes a new instance of AttributeRelationship using an identifier.
Top

  NameDescription
Public propertyAnnotationsGets a collection within which you can store custom data. (Inherited from ModelComponent.)
Public propertyAttributeGets or sets the Attribute object to which the current relationship is being created.
Public propertyAttributeIDGets or sets the AttributeID for the current AttributeRelationship.
Public propertyCardinalityGets 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.
Public propertyContainer (Inherited from Component.)
Protected propertyFriendlyNameInfrastructure. Gets the friendly name of the ModelComponent. (Inherited from ModelComponent.)
Protected propertyKeyForCollectionInfrastructure. Gets the key used in the collection. (Inherited from ModelComponent.)
Public propertyNameGets or sets the name of the relationship.
Public propertyOptionalityGets or sets the Optionality definition of the relationship between parent attribute and current attribute.
Public propertyOverrideBehaviorGets or sets the OverrideBehavior definition of the relationship.
Public propertyOwningCollectionGets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.)
Public propertyParentGets the parent Attribute for the current attribute relationship.
Public propertyParentDatabaseGets the ParentDatabase object for the current AttributeRelationship object.
Public propertyParentDimensionGets the ParentDimension object for the current AttributeRelationship object.
Public propertyParentServerGets the ParentServer object for the current AttributeRelationship object.
Public propertyRelationshipTypeGets or sets the RelationshipType definition of the relationship.
Public propertySite (Inherited from Component.)
Public propertyTranslationsGets the translations collection for the current attribute relationship.
Public propertyVisibleGest or sets the current visibility of the attribute relationship.
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 new full copy of an object.
Public methodCopyToCreates a full copy of current AttributeRelationship into object passed as parameter.
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodDispose (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodRemoveFromContainerInfrastructure. Removes a ModelComponent object from the specified container. (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 copy of the object instance.
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft