ForeignKeyColumn.ReferencedColumn プロパティ

参照する列を取得します。値の設定も可能です。

名前空間:  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
参照する列を示す String 値です。

使用例

外部キーの作成、変更、および削除

関連項目

参照

ForeignKeyColumn クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

FOREIGN KEY 制約の作成と変更

CREATE TABLE (Transact-SQL)