Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Represents the unique or primary key constraint. This class translates 80 syntax into 90 syntax, this should be reflected in the AST, if a differentiator is to be written.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.UniqueConstraintDefinition
Espacio de nombres: Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado: Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public Class UniqueConstraintDefinition _
Inherits ConstraintDefinition
'Uso
Dim instance As UniqueConstraintDefinition
[SerializableAttribute]
public class UniqueConstraintDefinition : ConstraintDefinition
[SerializableAttribute]
public ref class UniqueConstraintDefinition : public ConstraintDefinition
[<SerializableAttribute>]
type UniqueConstraintDefinition =
class
inherit ConstraintDefinition
end
public class UniqueConstraintDefinition extends ConstraintDefinition
El tipo UniqueConstraintDefinition expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
UniqueConstraintDefinition | Initializes a new instance of the UniqueConstraintDefinition class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
Clustered | Gets or sets a value that indicates whether the constraint is clustered. |
![]() |
Columns | Gets a list of constraint columns. |
![]() |
ConstraintIdentifier | Gets the name of the constraint. (Se hereda de ConstraintDefinition.) |
![]() |
FileStreamOn | Gets or sets an optional specification of the file stream. It can be either Identifier or String literal. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Se hereda de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Se hereda de TSqlFragment.) |
![]() |
IndexOptions | Gets a list of index options. |
![]() |
IsPrimaryKey | Gets or sets whether the constraint is both unique and a primary key. |
![]() |
LastTokenIndex | Gets or sets the last token index. (Se hereda de TSqlFragment.) |
![]() |
OnFileGroupOrPartitionScheme | Gets or sets the file group or partition scheme. It might be nulles una referencia NULL (Nothing en Visual Basic).. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Se hereda de TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Se hereda de TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Se hereda de TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Se hereda de TSqlFragment.) |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Accept | Indicates the entry point for a given visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Calls Accept on the children with the given visitor. (Invalida ConstraintDefinition.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom
.gif)
.gif)
.gif)