Partager via


Classe ForeignKeyConstraintDefinition

Represents the foreign key constraint.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
      Microsoft.SqlServer.TransactSql.ScriptDom.ForeignKeyConstraintDefinition

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class ForeignKeyConstraintDefinition _
    Inherits ConstraintDefinition
'Utilisation
Dim instance As ForeignKeyConstraintDefinition
[SerializableAttribute]
public class ForeignKeyConstraintDefinition : ConstraintDefinition
[SerializableAttribute]
public ref class ForeignKeyConstraintDefinition : public ConstraintDefinition
[<SerializableAttribute>]
type ForeignKeyConstraintDefinition =  
    class 
        inherit ConstraintDefinition 
    end
public class ForeignKeyConstraintDefinition extends ConstraintDefinition

Le type ForeignKeyConstraintDefinition expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ForeignKeyConstraintDefinition Initializes a new instance of the ForeignKeyConstraintDefinition class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Columns Gets a list of columns for the constraint.
Propriété publique ConstraintIdentifier Gets the name of the constraint. (hérité de ConstraintDefinition.)
Propriété publique DeleteAction Gets or sets the action to be taken at delete.
Propriété publique FirstTokenIndex Gets or sets the first token index. (hérité de TSqlFragment.)
Propriété publique FragmentLength Gets the fragment length. (hérité de TSqlFragment.)
Propriété publique LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique NotForReplication Gets or sets whether NOT FOR REPLICATION was specified.
Propriété publique ReferencedTableColumns Gets a list of columns for the referenced table.
Propriété publique ReferenceTableName Gets or sets the table that contains the constraint references.
Propriété publique ScriptTokenStream Gets or sets a list of token streams. (hérité de TSqlFragment.)
Propriété publique StartColumn Gets the starting column. (hérité de TSqlFragment.)
Propriété publique StartLine Gets the starting line. (hérité de TSqlFragment.)
Propriété publique StartOffset Gets the fragment start offset value. (hérité de TSqlFragment.)
Propriété publique UpdateAction Gets or sets the action to be taken at update.

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Accepts a visit from the specified visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Accepts a visit for the Children from the specified visitor. (remplace ConstraintDefinition.AcceptChildren(TSqlFragmentVisitor).)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom