Classe ForeignKeyConstraintDefinition
Represents the foreign key constraint.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.ForeignKeyConstraintDefinition
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class ForeignKeyConstraintDefinition _
Inherits ConstraintDefinition
'Uso
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
O tipo ForeignKeyConstraintDefinition expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ForeignKeyConstraintDefinition | Initializes a new instance of the ForeignKeyConstraintDefinition class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Columns | Gets a list of columns for the constraint. | |
ConstraintIdentifier | Gets the name of the constraint. (Herdado de ConstraintDefinition.) | |
DeleteAction | Gets or sets the action to be taken at delete. | |
FirstTokenIndex | Gets or sets the first token index. (Herdado de TSqlFragment.) | |
FragmentLength | Gets the fragment length. (Herdado de TSqlFragment.) | |
LastTokenIndex | Gets or sets the last token index. (Herdado de TSqlFragment.) | |
NotForReplication | Gets or sets whether NOT FOR REPLICATION was specified. | |
ReferencedTableColumns | Gets a list of columns for the referenced table. | |
ReferenceTableName | Gets or sets the table that contains the constraint references. | |
ScriptTokenStream | Gets or sets a list of token streams. (Herdado de TSqlFragment.) | |
StartColumn | Gets the starting column. (Herdado de TSqlFragment.) | |
StartLine | Gets the starting line. (Herdado de TSqlFragment.) | |
StartOffset | Gets the fragment start offset value. (Herdado de TSqlFragment.) | |
UpdateAction | Gets or sets the action to be taken at update. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Accepts a visit from the specified visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) | |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Substitui ConstraintDefinition.AcceptChildren(TSqlFragmentVisitor).) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.