AttributeRelationship-Klasse
Provides details on the relationship between one attribute and another. This class cannot be inherited.
Vererbungshierarchie
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.AttributeRelationship
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
<GuidAttribute("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")> _
Public NotInheritable Class AttributeRelationship _
Inherits ModelComponent _
Implements ICloneable
'Usage
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
Der AttributeRelationship-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
AttributeRelationship() | Initializes a new instance of the AttributeRelationship class using the default values. | |
AttributeRelationship(String) | Initializes a new instance of AttributeRelationship using an identifier. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Geerbt von 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. | |
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 | (Geerbt von Component.) | |
FriendlyName | Infrastruktur Gets the friendly name of the ModelComponent. (Geerbt von ModelComponent.) | |
KeyForCollection | Infrastruktur Gets the key used in the collection. (Geerbt von 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. (Geerbt von 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 | (Geerbt von Component.) | |
Translations | Gets the translations collection for the current attribute relationship. | |
Visible | Gest or sets the current visibility of the attribute relationship. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
AddToContainer | Infrastruktur Adds a ModelComponent object to the specified container. (Geerbt von ModelComponent.) | |
AfterInsert | Infrastruktur Displays a ModelComponent object after added to the specified index. (Geerbt von ModelComponent.) | |
AfterMove | Infrastruktur Displays a ModelComponent object after moving to the specified index. (Geerbt von ModelComponent.) | |
AfterRemove | Infrastruktur Displays a ModelComponentCollection after a ModelComponent object is removed. (Geerbt von ModelComponent.) | |
BeforeRemove | Infrastruktur Removes the ModelComponent object before the cleanup. (Geerbt von ModelComponent.) | |
Clone | Creates a new full copy of an object. | |
CopyTo | Creates a full copy of current AttributeRelationship into object passed as parameter. | |
CreateObjRef | Sicherheitskritisch (Geerbt von MarshalByRefObject.) | |
Dispose | (Geerbt von Component.) | |
Equals | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetLifetimeService | Sicherheitskritisch (Geerbt von MarshalByRefObject.) | |
GetType | (Geerbt von Object.) | |
InitializeLifetimeService | Sicherheitskritisch (Geerbt von MarshalByRefObject.) | |
RemoveFromContainer | Infrastruktur Removes a ModelComponent object from the specified container. (Geerbt von ModelComponent.) | |
Submit() | Infrastruktur Submits a ModelComponent object. (Geerbt von ModelComponent.) | |
Submit(Boolean) | Infrastruktur Submits a ModelComponent object. (Geerbt von ModelComponent.) | |
ToString | Infrastruktur Returns a string that represents the current object. (Geerbt von ModelComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Geerbt von 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. (Geerbt von ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. (Geerbt von ModelComponent.) |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
Disposed | (Geerbt von Component.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
ICloneable.Clone | Creates a copy of the object instance. | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Geerbt von ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Geerbt von ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Geerbt von ModelComponent.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.