DriAllKeys 属性

Gets an object value that specifies whether all DRI keys (DriForeignKeys, DriPrimaryKey, DriUniqueKeys) are included in the generated script.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Shared ReadOnly Property DriAllKeys As ScriptOption
    Get
用法
Dim value As ScriptOption

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

属性值

类型:Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptOption object that represents the DriAllKeysin the scripting options.

示例

脚本撰写