Share via


Relationship 클래스

Exists between two database tables when one table has a foreign key that references the primary key of another table.

상속 계층

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.Relationship

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Public Class Relationship _
    Inherits ModelComponent _
    Implements ICloneable
‘사용 방법
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

Relationship 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 Relationship() Initializes a new instance of the Relationship class.
공용 메서드 Relationship(String) Initializes a new instance of the Relationship class using the specified identifier.

맨 위로 이동

속성

  이름 설명
공용 속성 Annotations Gets a collection within which you can store custom data. (ModelComponent에서 상속됨)
보호된 속성 CanRaiseEvents (Component에서 상속됨)
공용 속성 Container (Component에서 상속됨)
보호된 속성 DesignMode (Component에서 상속됨)
보호된 속성 Events (Component에서 상속됨)
보호된 속성 FriendlyName Gets the friendly name of the specified relationship. (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. (ModelComponent.KeyForCollection을(를) 재정의함)
공용 속성 OwningCollection Gets or sets the collection that contains the ModelComponent. (ModelComponent에서 상속됨)
공용 속성 Parent 인프라입니다. Gets the IModelComponent object that is the parent of the ModelComponent object. (ModelComponent에서 상속됨)
공용 속성 ProcessingState Gets or sets the processing state of the specified relationship.
공용 속성 Site (Component에서 상속됨)
공용 속성 ToRelationshipEnd Gets the cited XMLA validation failure for the relationship.
공용 속성 Visible Gets or sets a value that indicates whether the relationship is visible.

맨 위로 이동

메서드

  이름 설명
보호된 메서드 AddToContainer 인프라입니다. Adds a ModelComponent object to the specified container. (ModelComponent에서 상속됨)
보호된 메서드 AfterInsert 인프라입니다. Displays a ModelComponent object after added to the specified index. (ModelComponent에서 상속됨)
보호된 메서드 AfterMove 인프라입니다. Displays a ModelComponent object after moving to the specified index. (ModelComponent에서 상속됨)
보호된 메서드 AfterRemove 인프라입니다. Displays a ModelComponentCollection after a ModelComponent object is removed. (ModelComponent에서 상속됨)
보호된 메서드 BeforeRemove 인프라입니다. Removes the ModelComponent object before the cleanup. (ModelComponent에서 상속됨)
공용 메서드 Clone Creates a copy of the specified relationship.
보호된 메서드 CopyTo(ModelComponent) 인프라입니다. Copies a ModelComponent object to the specified object. (ModelComponent에서 상속됨)
공용 메서드 CopyTo(Relationship) Copies the specified relationship to a specific object.
공용 메서드 CreateObjRef 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
공용 메서드 Dispose() (Component에서 상속됨)
보호된 메서드 Dispose(Boolean) (Component에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Component에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetLifetimeService 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
보호된 메서드 GetService (Component에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 InitializeLifetimeService 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
보호된 메서드 MemberwiseClone() (Object에서 상속됨)
보호된 메서드 MemberwiseClone(Boolean) (MarshalByRefObject에서 상속됨)
보호된 메서드 RemoveFromContainer 인프라입니다. Removes a ModelComponent object from the specified container. (ModelComponent에서 상속됨)
보호된 메서드 Reset 인프라입니다. Resets the component to an initial state. (ModelComponent에서 상속됨)
공용 메서드 Submit() 인프라입니다. Submits a ModelComponent object. (ModelComponent에서 상속됨)
공용 메서드 Submit(Boolean) 인프라입니다. Submits a ModelComponent object. (ModelComponent에서 상속됨)
공용 메서드 ToString 인프라입니다. Returns a string that represents the current object. (ModelComponent에서 상속됨)
공용 메서드 Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (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. (ModelComponent에서 상속됨)
공용 메서드 Validate(ValidationErrorCollection, Boolean, ServerEdition) Indicates whether a ModelComponent object is valid. (ModelComponent에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 Disposed (Component에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ICloneable.Clone Creates a new, full copy of an object.
명시적 인터페이스 구현전용 속성 IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (ModelComponent에서 상속됨)
명시적 인터페이스 구현전용 속성 IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (ModelComponent에서 상속됨)
명시적 인터페이스 구현전용 속성 IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (ModelComponent에서 상속됨)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.AnalysisServices 네임스페이스