Export (0) Print
Expand All
Expand Minimize

ScriptOption.DriIndexes Property

Gets an object value that specifies whether PRIMARY KEY constraints using a unique index to implement the declarative referential integrity are included in the generated script.

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

public static ScriptOption DriIndexes { get; }

Property Value

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

This option only applies when scripting a table.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft