Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.