Поделиться через


Свойство 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.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Shared ReadOnly Property DriIndexes As ScriptOption 
    Get
'Применение
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

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the DriIndexesin the scripting options.

Замечания

This option only applies when scripting a table.

Примеры

Создание скриптов

См. также

Справочник

ScriptOption Класс

Пространство имен Microsoft.SqlServer.Management.Smo