AttributeRelationship Members

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

The following tables list the members exposed by the AttributeRelationship type.

Public Constructors

  名称 Description
AttributeRelationship Overloaded. Initializes a new instance of the AttributeRelationship class.

顶部

Public Properties

(see also Protected Properties )

  名称 Description
ms161219.pubproperty(zh-cn,SQL.90).gif Annotations  Gets a collection within which you can store custom data. (inherited from ModelComponent)
ms161219.pubproperty(zh-cn,SQL.90).gif Attribute Gets or sets the Attribute object to which the current relationship is being created.
ms161219.pubproperty(zh-cn,SQL.90).gif AttributeID Gets or sets the AttributeID for the current AttributeRelationship.
ms161219.pubproperty(zh-cn,SQL.90).gif Cardinality 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.
ms161219.pubproperty(zh-cn,SQL.90).gif Container  (inherited from Component )
ms161219.pubproperty(zh-cn,SQL.90).gif Name Gets or sets the name of the relationship.
ms161219.pubproperty(zh-cn,SQL.90).gif Optionality Gets or sets the Optionality definition of the relationship between parent attribute and current attribute.
ms161219.pubproperty(zh-cn,SQL.90).gif OverrideBehavior Gets or sets the OverrideBehavior definition of the relationship.
ms161219.pubproperty(zh-cn,SQL.90).gif OwningCollection  Gets or sets the collection that contains the ModelComponent. (inherited from ModelComponent)
ms161219.pubproperty(zh-cn,SQL.90).gif Parent Gets the parent Attribute for the current attribute relationship.
ms161219.pubproperty(zh-cn,SQL.90).gif ParentDatabase Gets the ParentDatabase object for the current AttributeRelationship object.
ms161219.pubproperty(zh-cn,SQL.90).gif ParentDimension Gets the ParentDimension object for the current AttributeRelationship object.
ms161219.pubproperty(zh-cn,SQL.90).gif ParentServer Gets the ParentServer object for the current AttributeRelationship object.
ms161219.pubproperty(zh-cn,SQL.90).gif RelationshipType Gets or sets the RelationshipType definition of the relationship.
ms161219.pubproperty(zh-cn,SQL.90).gif Site  (inherited from Component )
ms161219.pubproperty(zh-cn,SQL.90).gif Translations Gets the translations collection for the current attribute relationship.
ms161219.pubproperty(zh-cn,SQL.90).gif Visible Gest or sets the current visibility of the attribute relationship.

顶部

Protected Properties

  名称 Description
ms161219.protproperty(zh-cn,SQL.90).gif CanRaiseEvents  (inherited from Component )
ms161219.protproperty(zh-cn,SQL.90).gif DesignMode  (inherited from Component )
ms161219.protproperty(zh-cn,SQL.90).gif Events  (inherited from Component )
ms161219.protproperty(zh-cn,SQL.90).gif FriendlyName  (inherited from ModelComponent )
ms161219.protproperty(zh-cn,SQL.90).gif KeyForCollection  (inherited from ModelComponent )

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms161219.pubmethod(zh-cn,SQL.90).gif Clone Creates a new full copy of an object.
ms161219.pubmethod(zh-cn,SQL.90).gif CopyTo Overloaded.  
ms161219.pubmethod(zh-cn,SQL.90).gif CreateObjRef  (inherited from MarshalByRefObject )
ms161219.pubmethod(zh-cn,SQL.90).gif Dispose  Overloaded. (inherited from Component )
ms161219.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms161219.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms161219.pubmethod(zh-cn,SQL.90).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms161219.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms161219.pubmethod(zh-cn,SQL.90).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms161219.pubmethod(zh-cn,SQL.90).gifms161219.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms161219.pubmethod(zh-cn,SQL.90).gif Submit  Overloaded. (inherited from ModelComponent )
ms161219.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from ModelComponent )
ms161219.pubmethod(zh-cn,SQL.90).gif Validate Overloaded.  

顶部

Protected Methods

  名称 Description
ms161219.protmethod(zh-cn,SQL.90).gif AddToContainer  (inherited from ModelComponent )
ms161219.protmethod(zh-cn,SQL.90).gif AfterInsert  (inherited from ModelComponent )
ms161219.protmethod(zh-cn,SQL.90).gif AfterMove  (inherited from ModelComponent )
ms161219.protmethod(zh-cn,SQL.90).gif AfterRemove  (inherited from ModelComponent )
ms161219.protmethod(zh-cn,SQL.90).gif BeforeRemove  (inherited from ModelComponent )
ms161219.protmethod(zh-cn,SQL.90).gif CopyTo  Overloaded. (inherited from ModelComponent )
ms161219.protmethod(zh-cn,SQL.90).gif Dispose  Overloaded. (inherited from Component )
ms161219.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Component )
ms161219.protmethod(zh-cn,SQL.90).gif GetService  (inherited from Component )
ms161219.protmethod(zh-cn,SQL.90).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )
ms161219.protmethod(zh-cn,SQL.90).gif RemoveFromContainer  (inherited from ModelComponent )
ms161219.protmethod(zh-cn,SQL.90).gif Reset  (inherited from ModelComponent )

顶部

Public Events

  名称 Description
ms161219.pubevent(zh-cn,SQL.90).gif Disposed  (inherited from Component )

顶部

Explicit Interface Implementations

  名称 Description
System.ICloneable.Clone  
Microsoft.AnalysisServices.Hosting.IHostableComponent.Host  (inherited from ModelComponent )
Microsoft.AnalysisServices.IModelComponent.FriendlyPath  (inherited from ModelComponent )
Microsoft.AnalysisServices.IModelComponent.OwningCollection  (inherited from ModelComponent )

顶部

请参阅

参考

AttributeRelationship Class
Microsoft.AnalysisServices Namespace