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.

Return to top