Relationship-Klasse
Exists between two database tables when one table has a foreign key that references the primary key of another table.
Vererbungshierarchie
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.Relationship
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Class Relationship _
Inherits ModelComponent _
Implements ICloneable
'Usage
Dim instance As Relationship
public class Relationship : ModelComponent,
ICloneable
public ref class Relationship : public ModelComponent,
ICloneable
type Relationship =
class
inherit ModelComponent
interface ICloneable
end
public class Relationship extends ModelComponent implements ICloneable
Der Relationship-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
Relationship() | Initializes a new instance of the Relationship class. | |
Relationship(String) | Initializes a new instance of the Relationship class using the specified identifier. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Geerbt von ModelComponent.) | |
CanRaiseEvents | (Geerbt von Component.) | |
Container | (Geerbt von Component.) | |
DesignMode | (Geerbt von Component.) | |
Events | (Geerbt von Component.) | |
FriendlyName | Gets the friendly name of the specified relationship. (Überschreibt ModelComponent.FriendlyName.) | |
FromRelationshipEnd | Gets the cited XMLA validation failure and fixes it. | |
ID | Gets or sets the identifier of the specified relationship. | |
KeyForCollection | Gets the value of the key for the collection. (Überschreibt ModelComponent.KeyForCollection.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Geerbt von ModelComponent.) | |
Parent | Infrastruktur Gets the IModelComponent object that is the parent of the ModelComponent object. (Geerbt von ModelComponent.) | |
ProcessingState | Gets or sets the processing state of the specified relationship. | |
Site | (Geerbt von Component.) | |
ToRelationshipEnd | Gets the cited XMLA validation failure for the relationship. | |
Visible | Gets or sets a value that indicates whether the relationship is visible. |
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 copy of the specified relationship. | |
CopyTo(ModelComponent) | Infrastruktur Copies a ModelComponent object to the specified object. (Geerbt von ModelComponent.) | |
CopyTo(Relationship) | Copies the specified relationship to a specific object. | |
CreateObjRef | Sicherheitskritisch (Geerbt von MarshalByRefObject.) | |
Dispose() | (Geerbt von Component.) | |
Dispose(Boolean) | (Geerbt von Component.) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Component.) | |
GetHashCode | (Geerbt von Object.) | |
GetLifetimeService | Sicherheitskritisch (Geerbt von MarshalByRefObject.) | |
GetService | (Geerbt von Component.) | |
GetType | (Geerbt von Object.) | |
InitializeLifetimeService | Sicherheitskritisch (Geerbt von MarshalByRefObject.) | |
MemberwiseClone() | (Geerbt von Object.) | |
MemberwiseClone(Boolean) | (Geerbt von MarshalByRefObject.) | |
RemoveFromContainer | Infrastruktur Removes a ModelComponent object from the specified container. (Geerbt von ModelComponent.) | |
Reset | Infrastruktur Resets the component to an initial state. (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 new, full copy of an object. | |
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.