共用方式為


ScriptReferencedTable 屬性

Gets or sets the Boolean value that specifies whether to script the table referenced by the foreign key.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property ScriptReferencedTable As String
    Get
    Set
'用途
Dim instance As ForeignKey
Dim value As String

value = instance.ScriptReferencedTable

instance.ScriptReferencedTable = value
[SfcPropertyAttribute]
public string ScriptReferencedTable { get; set; }
[SfcPropertyAttribute]
public:
property String^ ScriptReferencedTable {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member ScriptReferencedTable : string with get, set
function get ScriptReferencedTable () : String
function set ScriptReferencedTable (value : String)

屬性值

型別:System. . :: . .String
A Boolean value that specifies whether to script the table referenced by the foreign key.
If True, the table referenced in the foreign key is included in scripting operations.
If False (default), no attempt is made to include the table referenced by the foreign key in scripting operations.