Classe ConstraintDefinition
Represents the base class for constraints.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.CheckConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.DefaultConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.ForeignKeyConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.NullableConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.UniqueConstraintDefinition
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public MustInherit Class ConstraintDefinition _
Inherits TSqlFragment
'Uso
Dim instance As ConstraintDefinition
[SerializableAttribute]
public abstract class ConstraintDefinition : TSqlFragment
[SerializableAttribute]
public ref class ConstraintDefinition abstract : public TSqlFragment
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type ConstraintDefinition =
class
inherit TSqlFragment
end
public abstract class ConstraintDefinition extends TSqlFragment
O tipo ConstraintDefinition expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ConstraintDefinition | Initializes a new instance of the ConstraintDefinition class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
ConstraintIdentifier | Gets the name of the constraint. | |
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.) | |
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.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Indicates the entry point for a given visitor. (Herdado de TSqlFragment.) | |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Substitui TSqlFragment.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.