Clase Relationship
Exists between two database tables when one table has a foreign key that references the primary key of another table.
Jerarquía de herencia
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.Relationship
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Class Relationship _
Inherits ModelComponent _
Implements ICloneable
'Uso
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
El tipo Relationship expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
Relationship() | Initializes a new instance of the Relationship class. | |
Relationship(String) | Initializes a new instance of the Relationship class using the specified identifier. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Se hereda de ModelComponent.) | |
CanRaiseEvents | (Se hereda de Component.) | |
Container | (Se hereda de Component.) | |
DesignMode | (Se hereda de Component.) | |
Events | (Se hereda de Component.) | |
FriendlyName | Gets the friendly name of the specified relationship. (Invalida 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. (Invalida ModelComponent.KeyForCollection.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Se hereda de ModelComponent.) | |
Parent | Infraestructura. Gets the IModelComponent object that is the parent of the ModelComponent object. (Se hereda de ModelComponent.) | |
ProcessingState | Gets or sets the processing state of the specified relationship. | |
Site | (Se hereda de Component.) | |
ToRelationshipEnd | Gets the cited XMLA validation failure for the relationship. | |
Visible | Gets or sets a value that indicates whether the relationship is visible. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
AddToContainer | Infraestructura. Adds a ModelComponent object to the specified container. (Se hereda de ModelComponent.) | |
AfterInsert | Infraestructura. Displays a ModelComponent object after added to the specified index. (Se hereda de ModelComponent.) | |
AfterMove | Infraestructura. Displays a ModelComponent object after moving to the specified index. (Se hereda de ModelComponent.) | |
AfterRemove | Infraestructura. Displays a ModelComponentCollection after a ModelComponent object is removed. (Se hereda de ModelComponent.) | |
BeforeRemove | Infraestructura. Removes the ModelComponent object before the cleanup. (Se hereda de ModelComponent.) | |
Clone | Creates a copy of the specified relationship. | |
CopyTo(ModelComponent) | Infraestructura. Copies a ModelComponent object to the specified object. (Se hereda de ModelComponent.) | |
CopyTo(Relationship) | Copies the specified relationship to a specific object. | |
CreateObjRef | Importante para la seguridad. (Se hereda de MarshalByRefObject.) | |
Dispose() | (Se hereda de Component.) | |
Dispose(Boolean) | (Se hereda de Component.) | |
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Component.) | |
GetHashCode | (Se hereda de Object.) | |
GetLifetimeService | Importante para la seguridad. (Se hereda de MarshalByRefObject.) | |
GetService | (Se hereda de Component.) | |
GetType | (Se hereda de Object.) | |
InitializeLifetimeService | Importante para la seguridad. (Se hereda de MarshalByRefObject.) | |
MemberwiseClone() | (Se hereda de Object.) | |
MemberwiseClone(Boolean) | (Se hereda de MarshalByRefObject.) | |
RemoveFromContainer | Infraestructura. Removes a ModelComponent object from the specified container. (Se hereda de ModelComponent.) | |
Reset | Infraestructura. Resets the component to an initial state. (Se hereda de ModelComponent.) | |
Submit() | Infraestructura. Submits a ModelComponent object. (Se hereda de ModelComponent.) | |
Submit(Boolean) | Infraestructura. Submits a ModelComponent object. (Se hereda de ModelComponent.) | |
ToString | Infraestructura. Returns a string that represents the current object. (Se hereda de ModelComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Se hereda 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. (Se hereda de ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. (Se hereda de ModelComponent.) |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
Disposed | (Se hereda de Component.) |
Arriba
Implementaciones de interfaces explícitas
Nombre | Descripción | |
---|---|---|
ICloneable.Clone | Creates a new, full copy of an object. | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Se hereda de ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Se hereda de ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Se hereda de ModelComponent.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.