Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Shared ReadOnly Property DriIndexes As ScriptOption
Get
'Usage
Dim value As ScriptOption
value = ScriptOption.DriIndexes
public static ScriptOption DriIndexes { get; }
public:
static property ScriptOption^ DriIndexes {
ScriptOption^ get ();
}
static member DriIndexes : ScriptOption
static function get DriIndexes () : ScriptOption
Property Value
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the DriIndexesin the scripting options.
Remarks
This option only applies when scripting a table.