IForeignKeyConstraint 인터페이스

Represents a SQL Server FOREIGN KEY constraint.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Metadata
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Public Interface IForeignKeyConstraint _
    Inherits IConstraint, IMetadataObject
‘사용 방법
Dim instance As IForeignKeyConstraint
public interface IForeignKeyConstraint : IConstraint, 
    IMetadataObject
public interface class IForeignKeyConstraint : IConstraint, 
    IMetadataObject
type IForeignKeyConstraint =  
    interface 
        interface IConstraint 
        interface IMetadataObject 
    end
public interface IForeignKeyConstraint extends IConstraint, IMetadataObject

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

속성

  이름 설명
공용 속성 Columns Gets the columns that are included in the foreign key.
공용 속성 DeleteAction Gets a ForeignKeyAction value that specifies the action taken when a row that is referenced by the foreign key is deleted.
공용 속성 IsChecked Gets a value that indicates whether the FOREIGN KEY constraint applies to new data only or also to existing data.
공용 속성 IsEnabled Gets a value that indicates whether the FOREIGN KEY constraint is enabled.
공용 속성 IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. (IConstraint에서 상속됨)
공용 속성 Name Gets the name of the metadata object. (IMetadataObject에서 상속됨)
공용 속성 NotForReplication Gets a value that indicates whether the FOREIGN KEY constraint is available for replication.
공용 속성 Parent Gets the ITabular object that is the parent of this object. (IConstraint에서 상속됨)
공용 속성 ReferencedTable Gets the ITable object that contains the primary key that is referenced by the foreign key.
공용 속성 Type Gets a ConstraintType value that indicates the constraint type. (IConstraint에서 상속됨)
공용 속성 UpdateAction Gets a ForeignKeyAction value that specifies the action taken when a row that is referenced by the foreign key is updated.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (IMetadataObject에서 상속됨)

맨 위로 이동

참고 항목

참조

Microsoft.SqlServer.Management.SqlParser.Metadata 네임스페이스