Classe AttributeRelationship
Provides details on the relationship between one attribute and another. This class cannot be inherited.
Hierarquia de herança
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.AttributeRelationship
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
<GuidAttribute("7BE640AB-7EF4-4e4c-A97E-1BE1AF45BA19")> _
Public NotInheritable Class AttributeRelationship _
Inherits ModelComponent _
Implements ICloneable
'Uso
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
O tipo AttributeRelationship expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
AttributeRelationship() | Initializes a new instance of the AttributeRelationship class using the default values. | |
AttributeRelationship(String) | Initializes a new instance of AttributeRelationship using an identifier. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Herdado 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. | |
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 | (Herdado de Component.) | |
FriendlyName | Infraestrutura. Gets the friendly name of the ModelComponent. (Herdado de ModelComponent.) | |
KeyForCollection | Infraestrutura. Gets the key used in the collection. (Herdado 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. (Herdado 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 | (Herdado de Component.) | |
Translations | Gets the translations collection for the current attribute relationship. | |
Visible | Gest or sets the current visibility of the attribute relationship. |
Início
Métodos
Nome | Descrição | |
---|---|---|
AddToContainer | Infraestrutura. Adds a ModelComponent object to the specified container. (Herdado de ModelComponent.) | |
AfterInsert | Infraestrutura. Displays a ModelComponent object after added to the specified index. (Herdado de ModelComponent.) | |
AfterMove | Infraestrutura. Displays a ModelComponent object after moving to the specified index. (Herdado de ModelComponent.) | |
AfterRemove | Infraestrutura. Displays a ModelComponentCollection after a ModelComponent object is removed. (Herdado de ModelComponent.) | |
BeforeRemove | Infraestrutura. Removes the ModelComponent object before the cleanup. (Herdado de ModelComponent.) | |
Clone | Creates a new full copy of an object. | |
CopyTo | Creates a full copy of current AttributeRelationship into object passed as parameter. | |
CreateObjRef | Segurança crítica. (Herdado de MarshalByRefObject.) | |
Dispose | (Herdado de Component.) | |
Equals | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetLifetimeService | Segurança crítica. (Herdado de MarshalByRefObject.) | |
GetType | (Herdado de Object.) | |
InitializeLifetimeService | Segurança crítica. (Herdado de MarshalByRefObject.) | |
RemoveFromContainer | Infraestrutura. Removes a ModelComponent object from the specified container. (Herdado de ModelComponent.) | |
Submit() | Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.) | |
Submit(Boolean) | Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.) | |
ToString | Infraestrutura. Returns a string that represents the current object. (Herdado de ModelComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Herdado 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. (Herdado de ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Indicates whether a ModelComponent object is valid. (Herdado de ModelComponent.) |
Início
Eventos
Nome | Descrição | |
---|---|---|
Disposed | (Herdado de Component.) |
Início
Implementações de interfaces explícitas
Nome | Descrição | |
---|---|---|
ICloneable.Clone | Creates a copy of the object instance. | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Herdado de ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Herdado de ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Herdado de ModelComponent.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.