共用方式為


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

頂端

Protected Properties

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

頂端

Public Methods

(see also Protected Methods )

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

頂端

Protected Methods

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

頂端

Public Events

  名稱 Description
ms161219.pubevent(zh-tw,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