다음을 통해 공유


ForeignKeyColumn.ReferencedColumn 속성

Gets or sets the referenced column.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property ReferencedColumn As String 
    Get 
    Set
‘사용 방법
Dim instance As ForeignKeyColumn 
Dim value As String 

value = instance.ReferencedColumn

instance.ReferencedColumn = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public string ReferencedColumn { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property String^ ReferencedColumn {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member ReferencedColumn : string with get, set
function get ReferencedColumn () : String 
function set ReferencedColumn (value : String)

속성 값

유형: System.String
A String value that specifies the referenced column.

외래 키 생성, 변경 및 제거

참고 항목

참조

ForeignKeyColumn 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

FOREIGN KEY 제약 조건 만들기 및 수정

CREATE TABLE(Transact-SQL)