Classe AttributeRelationship
Provides details on the relationship between one attribute and another. This class cannot be inherited.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
Microsoft.AnalysisServices. . :: . .ModelComponent
Microsoft.AnalysisServices..::..AttributeRelationship
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
<GuidAttribute("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")> _
Public NotInheritable Class AttributeRelationship _
Inherits ModelComponent _
Implements ICloneable
'Utilisation
Dim instance As AttributeRelationship
[GuidAttribute("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")]
public sealed class AttributeRelationship : ModelComponent,
ICloneable
[GuidAttribute(L"7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")]
public ref class AttributeRelationship sealed : public ModelComponent,
ICloneable
[<SealedAttribute>]
[<GuidAttribute("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")>]
type AttributeRelationship =
class
inherit ModelComponent
interface ICloneable
end
public final class AttributeRelationship extends ModelComponent implements ICloneable
Le type AttributeRelationship expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
AttributeRelationship() () () () | Initializes a new instance of the AttributeRelationship class using the default values. | |
AttributeRelationship(String) | Initializes a new instance of AttributeRelationship using an identifier. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (hérité de ModelComponent.) | |
Attribute | Gets or sets the Attribute object to which the current relationship is being created. | |
AttributeID | Gets or sets the AttributeID for the current AttributeRelationship. | |
CanRaiseEvents | (hérité de Component.) | |
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. | |
Container | (hérité de Component.) | |
DesignMode | (hérité de Component.) | |
Events | (hérité de Component.) | |
FriendlyName | Infrastructure. (hérité de ModelComponent.) | |
KeyForCollection | Infrastructure. (hérité de ModelComponent.) | |
Name | Gets or sets the name of the relationship. | |
Optionality | Gets or sets the Optionality definition of the relationship between parent attribute and current attribute. | |
OverrideBehavior | Gets or sets the OverrideBehavior definition of the relationship. | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (hérité de ModelComponent.) | |
Parent | Gets the parent Attribute for the current attribute relationship. | |
ParentDatabase | Gets the ParentDatabase object for the current AttributeRelationship object. | |
ParentDimension | Gets the ParentDimension object for the current AttributeRelationship object. | |
ParentServer | Gets the ParentServer object for the current AttributeRelationship object. | |
RelationshipType | Gets or sets the RelationshipType definition of the relationship. | |
Site | (hérité de Component.) | |
Translations | Gets the translations collection for the current attribute relationship. | |
Visible | Gest or sets the current visibility of the attribute relationship. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
AddToContainer | Infrastructure. (hérité de ModelComponent.) | |
AfterInsert | Infrastructure. (hérité de ModelComponent.) | |
AfterMove | Infrastructure. (hérité de ModelComponent.) | |
AfterRemove | Infrastructure. (hérité de ModelComponent.) | |
BeforeRemove | Infrastructure. (hérité de ModelComponent.) | |
Clone | Creates a new full copy of an object. | |
CopyTo(AttributeRelationship) | Creates a full copy of current AttributeRelationship into object passed as parameter. | |
CopyTo(ModelComponent) | Infrastructure. (hérité de ModelComponent.) | |
CreateObjRef | (hérité de MarshalByRefObject.) | |
Dispose() () () () | (hérité de Component.) | |
Dispose(Boolean) | (hérité de Component.) | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Component.) | |
GetHashCode | (hérité de Object.) | |
GetLifetimeService | (hérité de MarshalByRefObject.) | |
GetService | (hérité de Component.) | |
GetType | (hérité de Object.) | |
InitializeLifetimeService | (hérité de MarshalByRefObject.) | |
MemberwiseClone() () () () | (hérité de Object.) | |
MemberwiseClone(Boolean) | (hérité de MarshalByRefObject.) | |
RemoveFromContainer | Infrastructure. (hérité de ModelComponent.) | |
Reset | Infrastructure. (hérité de ModelComponent.) | |
Submit() () () () | Infrastructure. (hérité de ModelComponent.) | |
Submit(Boolean) | Infrastructure. (hérité de ModelComponent.) | |
ToString | Infrastructure. (hérité de ModelComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (hérité de ModelComponent.) | |
Validate(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. (hérité de ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | (hérité de ModelComponent.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
ICloneable. . :: . .Clone | ||
IHostableComponent. . :: . .Host | (hérité de ModelComponent.) | |
IModelComponent. . :: . .FriendlyPath | (hérité de ModelComponent.) | |
IModelComponent. . :: . .OwningCollection | (hérité de ModelComponent.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.