Share via


IScriptingOptions.ScriptUniqueKeys Property

Gets a value indicating whether the script includes the unique constraints.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration
Assembly:  SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)

Syntax

'Declaration
ReadOnly Property ScriptUniqueKeys As Boolean
    Get
'Usage
Dim instance As IScriptingOptions
Dim value As Boolean

value = instance.ScriptUniqueKeys
bool ScriptUniqueKeys { get; }
property bool ScriptUniqueKeys {
    bool get ();
}
abstract ScriptUniqueKeys : bool
function get ScriptUniqueKeys () : boolean

Property Value

Type: System.Boolean
true if the unique constraints are included in the script; otherwise, false.