Condividi tramite


Proprietà ScriptOption.DriIndexes

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.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Shared ReadOnly Property DriIndexes As ScriptOption 
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

This option only applies when scripting a table.

Esempi

Generazione di script

Vedere anche

Riferimento

ScriptOption Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo