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 | |
|---|---|---|
| .gif) | Annotations | Gets a collection within which you can store custom data. (inherited from ModelComponent) | 
| .gif) | Attribute | Gets or sets the Attribute object to which the current relationship is being created. | 
| .gif) | AttributeID | Gets or sets the AttributeID for the current AttributeRelationship. | 
| .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. | 
| .gif) | Container | (inherited from Component ) | 
| .gif) | Name | Gets or sets the name of the relationship. | 
| .gif) | Optionality | Gets or sets the Optionality definition of the relationship between parent attribute and current attribute. | 
| .gif) | OverrideBehavior | Gets or sets the OverrideBehavior definition of the relationship. | 
| .gif) | OwningCollection | Gets or sets the collection that contains the ModelComponent. (inherited from ModelComponent) | 
| .gif) | Parent | Gets the parent Attribute for the current attribute relationship. | 
| .gif) | ParentDatabase | Gets the ParentDatabase object for the current AttributeRelationship object. | 
| .gif) | ParentDimension | Gets the ParentDimension object for the current AttributeRelationship object. | 
| .gif) | ParentServer | Gets the ParentServer object for the current AttributeRelationship object. | 
| .gif) | RelationshipType | Gets or sets the RelationshipType definition of the relationship. | 
| .gif) | Site | (inherited from Component ) | 
| .gif) | Translations | Gets the translations collection for the current attribute relationship. | 
| .gif) | Visible | Gest or sets the current visibility of the attribute relationship. | 
顶部
Protected Properties
| 名称 | Description | |
|---|---|---|
| .gif) | CanRaiseEvents | (inherited from Component ) | 
| .gif) | DesignMode | (inherited from Component ) | 
| .gif) | Events | (inherited from Component ) | 
| .gif) | FriendlyName | (inherited from ModelComponent ) | 
| .gif) | KeyForCollection | (inherited from ModelComponent ) | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Clone | Creates a new full copy of an object. | 
| .gif) | CopyTo | Overloaded. | 
| .gif) | CreateObjRef | (inherited from MarshalByRefObject ) | 
| .gif) | Dispose | Overloaded. (inherited from Component ) | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetLifetimeService | (inherited from MarshalByRefObject ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | InitializeLifetimeService | (inherited from MarshalByRefObject ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | Submit | Overloaded. (inherited from ModelComponent ) | 
| .gif) | ToString | (inherited from ModelComponent ) | 
| .gif) | Validate | Overloaded. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | AddToContainer | (inherited from ModelComponent ) | 
| .gif) | AfterInsert | (inherited from ModelComponent ) | 
| .gif) | AfterMove | (inherited from ModelComponent ) | 
| .gif) | AfterRemove | (inherited from ModelComponent ) | 
| .gif) | BeforeRemove | (inherited from ModelComponent ) | 
| .gif) | CopyTo | Overloaded. (inherited from ModelComponent ) | 
| .gif) | Dispose | Overloaded. (inherited from Component ) | 
| .gif) | Finalize | (inherited from Component ) | 
| .gif) | GetService | (inherited from Component ) | 
| .gif) | MemberwiseClone | Overloaded. (inherited from MarshalByRefObject ) | 
| .gif) | RemoveFromContainer | (inherited from ModelComponent ) | 
| .gif) | Reset | (inherited from ModelComponent ) | 
顶部
Public Events
| 名称 | Description | |
|---|---|---|
| .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