Partager via


DriIndexes propriété

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.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property DriIndexes As ScriptOption
    Get
'Utilisation
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

Valeur de la propriété

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

Notes

This option only applies when scripting a table.