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


Свойство ScriptOption.DriAllKeys

Gets an object value that specifies whether all DRI keys (DriForeignKeys, DriPrimaryKey, DriUniqueKeys) are included in the generated script.

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

Синтаксис

'Декларация
Public Shared ReadOnly Property DriAllKeys As ScriptOption 
    Get
'Применение
Dim value As ScriptOption 

value = ScriptOption.DriAllKeys
public static ScriptOption DriAllKeys { get; }
public:
static property ScriptOption^ DriAllKeys {
    ScriptOption^ get ();
}
static member DriAllKeys : ScriptOption
static function get DriAllKeys () : ScriptOption

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

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

Примеры

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

См. также

Справочник

ScriptOption Класс

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