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

AttributeRelationship Class

 

Applies To: SQL Server 2016 Preview

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

[DesignerAttribute("Microsoft.AnalysisServices.Design.MemberPropertyDesigner, Microsoft.AnalysisServices.Design", 
	typeof(IDesigner))]
[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

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the friendly name of the ModelComponent.(Inherited from ModelComponent.)

System_CAPS_protpropertyKeyForCollection

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

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 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)

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_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 copy of the object instance.

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