Freigeben über


ForeignKey.IsSystemNamed-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsSystemNamed As Boolean 
    Get
'Usage
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

Eigenschaftswert

Typ: 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.

Beispiele

Erstellen, Ändern und Löschen von Fremdschlüsseln

Siehe auch

Verweis

ForeignKey Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Erstellen und Ändern von FOREIGN KEY-Einschränkungen

CREATE TABLE (Transact-SQL)