共用方式為


DriForeignKeys 屬性

Gets an object value that specifies whether dependency relationships defined in foreign keys with enforced declarative referential integrity are included in the script.

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

語法

'宣告
Public Shared ReadOnly Property DriForeignKeys As ScriptOption
    Get
'用途
Dim value As ScriptOption

value = ScriptOption.DriForeignKeys
public static ScriptOption DriForeignKeys { get; }
public:
static property ScriptOption^ DriForeignKeys {
    ScriptOption^ get ();
}
static member DriForeignKeys : ScriptOption
static function get DriForeignKeys () : ScriptOption

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptOption object that represents the DriForeignKeys in the scripting options.

範例

指令碼