共用方式為


ScriptOption.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.

範例

指令碼

請參閱

參考

ScriptOption 類別

Microsoft.SqlServer.Management.Smo 命名空間