IScriptingOptions.ScriptPrimaryKeys Property
Gets a value indicating whether the script includes the primary key constraints.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration
Assembly: SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)
Syntax
'Declaration
ReadOnly Property ScriptPrimaryKeys As Boolean
Get
'Usage
Dim instance As IScriptingOptions
Dim value As Boolean
value = instance.ScriptPrimaryKeys
bool ScriptPrimaryKeys { get; }
property bool ScriptPrimaryKeys {
bool get ();
}
abstract ScriptPrimaryKeys : bool
function get ScriptPrimaryKeys () : boolean
Property Value
Type: System.Boolean
true if the primary key constraints are included in the script; otherwise, false.