ForeignKey.ScriptReferencedTable プロパティ
外部キーによって参照されるテーブルのスクリプトを作成するかどうかを示す Boolean 値を取得または設定します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property ScriptReferencedTable As String
Get
Set
'使用
Dim instance As ForeignKey
Dim value As String
value = instance.ScriptReferencedTable
instance.ScriptReferencedTable = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string ScriptReferencedTable { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ ScriptReferencedTable {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member ScriptReferencedTable : string with get, set
function get ScriptReferencedTable () : String
function set ScriptReferencedTable (value : String)
プロパティ値
型: System.String
外部キーによって参照されるテーブルのスクリプトを作成するかどうかを示す Boolean 値。True の場合、外部キー内の参照されるテーブルは、スクリプト作成操作に含まれます。False (既定値) の場合、外部キーによって参照されるテーブルを含める処理は、スクリプト作成操作内では行われません。
使用例
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間