Delen via


ScriptOption.DriUniqueKeys Property

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

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

Syntax

'Declaration
Public Shared ReadOnly Property DriUniqueKeys As ScriptOption
    Get
'Usage
Dim value As ScriptOption

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

Property Value

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

Examples

Scripting