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


Свойство ForeignKey.IsSystemNamed

Gets the Boolean property value that specifies whether the foreign key is named by the system or by the user.

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

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsSystemNamed As Boolean 
    Get
'Применение
Dim instance As ForeignKey 
Dim value As Boolean 

value = instance.IsSystemNamed
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsSystemNamed { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsSystemNamed {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsSystemNamed : bool
function get IsSystemNamed () : boolean

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

Тип: System.Boolean
A Boolean value that specifies whether the foreign key is named by the system or the user.If True, the foreign key is named by the system.If False (default), the foreign key is named by the user.

Примеры

Создание, изменение и удаление внешних ключей

См. также

Справочник

ForeignKey Класс

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

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

Создание и изменение ограничений FOREGN KEY

Инструкция CREATE TABLE (Transact-SQL)