Share via


ScriptOption.DriAllKeys Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property DriAllKeys As ScriptOption
    Get
'Usage
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

Property Value

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

Examples

Scripting