Classe Relationship
Exists between two database tables when one table has a foreign key that references the primary key of another table.
Gerarchia di ereditarietà
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.Relationship
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Class Relationship _
Inherits ModelComponent _
Implements ICloneable
'Utilizzo
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
Nel tipo Relationship sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
Relationship() | Initializes a new instance of the Relationship class. |
![]() |
Relationship(String) | Initializes a new instance of the Relationship class using the specified identifier. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
Annotations | Gets a collection within which you can store custom data. Ereditato da ModelComponent. |
![]() |
CanRaiseEvents | Ereditato da Component. |
![]() |
Container | Ereditato da Component. |
![]() |
DesignMode | Ereditato da Component. |
![]() |
Events | Ereditato da Component. |
![]() |
FriendlyName | Gets the friendly name of the specified relationship. Esegue l'override di 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. Esegue l'override di ModelComponent.KeyForCollection. |
![]() |
OwningCollection | Gets or sets the collection that contains the ModelComponent. Ereditato da ModelComponent. |
![]() |
Parent | Infrastruttura. Gets the IModelComponent object that is the parent of the ModelComponent object. Ereditato da ModelComponent. |
![]() |
ProcessingState | Gets or sets the processing state of the specified relationship. |
![]() |
Site | Ereditato da Component. |
![]() |
ToRelationshipEnd | Gets the cited XMLA validation failure for the relationship. |
![]() |
Visible | Gets or sets a value that indicates whether the relationship is visible. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
AddToContainer | Infrastruttura. Adds a ModelComponent object to the specified container. Ereditato da ModelComponent. |
![]() |
AfterInsert | Infrastruttura. Displays a ModelComponent object after added to the specified index. Ereditato da ModelComponent. |
![]() |
AfterMove | Infrastruttura. Displays a ModelComponent object after moving to the specified index. Ereditato da ModelComponent. |
![]() |
AfterRemove | Infrastruttura. Displays a ModelComponentCollection after a ModelComponent object is removed. Ereditato da ModelComponent. |
![]() |
BeforeRemove | Infrastruttura. Removes the ModelComponent object before the cleanup. Ereditato da ModelComponent. |
![]() |
Clone | Creates a copy of the specified relationship. |
![]() |
CopyTo(ModelComponent) | Infrastruttura. Copies a ModelComponent object to the specified object. Ereditato da ModelComponent. |
![]() |
CopyTo(Relationship) | Copies the specified relationship to a specific object. |
![]() |
CreateObjRef | Criticità per la sicurezza. Ereditato da MarshalByRefObject. |
![]() |
Dispose() | Ereditato da Component. |
![]() |
Dispose(Boolean) | Ereditato da Component. |
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Component. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetLifetimeService | Criticità per la sicurezza. Ereditato da MarshalByRefObject. |
![]() |
GetService | Ereditato da Component. |
![]() |
GetType | Ereditato da Object. |
![]() |
InitializeLifetimeService | Criticità per la sicurezza. Ereditato da MarshalByRefObject. |
![]() |
MemberwiseClone() | Ereditato da Object. |
![]() |
MemberwiseClone(Boolean) | Ereditato da MarshalByRefObject. |
![]() |
RemoveFromContainer | Infrastruttura. Removes a ModelComponent object from the specified container. Ereditato da ModelComponent. |
![]() |
Reset | Infrastruttura. Resets the component to an initial state. Ereditato da ModelComponent. |
![]() |
Submit() | Infrastruttura. Submits a ModelComponent object. Ereditato da ModelComponent. |
![]() |
Submit(Boolean) | Infrastruttura. Submits a ModelComponent object. Ereditato da ModelComponent. |
![]() |
ToString | Infrastruttura. Returns a string that represents the current object. Ereditato da ModelComponent. |
![]() |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. Ereditato da 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. Ereditato da ModelComponent. |
![]() |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. Ereditato da ModelComponent. |
In alto
Eventi
Nome | Descrizione | |
---|---|---|
![]() |
Disposed | Ereditato da Component. |
In alto
Implementazioni esplicite dell'interfaccia
Nome | Descrizione | |
---|---|---|
![]() ![]() |
ICloneable.Clone | Creates a new, full copy of an object. |
![]() ![]() |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. Ereditato da ModelComponent. |
![]() ![]() |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. Ereditato da ModelComponent. |
![]() ![]() |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. Ereditato da ModelComponent. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.