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


ScriptOption.DriIndexes Property

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 (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Shared ReadOnly Property DriIndexes As ScriptOption
public static ScriptOption DriIndexes { get; }
public:
static property ScriptOption^ DriIndexes {
    ScriptOption^ get ();
}
/** @property */
public static ScriptOption get_DriIndexes ()
public static function get DriIndexes () : ScriptOption

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

A ScriptOption object that represents the DriIndexesin the scripting options.

Замечания

This option only applies when scripting a table.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

ScriptOption Class
ScriptOption Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

How to: Script Out the Dependencies for a Database in Visual Basic .NET
Scripting