ScriptOption.DriIndexes ScriptOption.DriIndexes ScriptOption.DriIndexes Property

Definition

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.

public:
 static property Microsoft::SqlServer::Management::Smo::ScriptOption ^ DriIndexes { Microsoft::SqlServer::Management::Smo::ScriptOption ^ get(); };
public static Microsoft.SqlServer.Management.Smo.ScriptOption DriIndexes { get; }
Public Shared ReadOnly Property DriIndexes As ScriptOption
Property Value

A ScriptOption object that represents the DriIndexesin the scripting options.

Examples

Scripting

Remarks

This option only applies when scripting a table.

Applies to