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


Свойство DriPrimaryKey

Gets an object value that specifies whether dependency relationships defined in primary keys with enforced declarative referential integrity are included in the script.

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

Синтаксис

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

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

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

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