Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
Microsoft.SqlServer.TransactSql.ScriptDom.UniqueConstraintDefinition
Espace de noms : Microsoft.SqlServer.TransactSql.ScriptDom
Assembly : Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class UniqueConstraintDefinition _
Inherits ConstraintDefinition
'Utilisation
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
Le type UniqueConstraintDefinition expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
UniqueConstraintDefinition | Initializes a new instance of the UniqueConstraintDefinition class. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
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. (hérité 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. (hérité de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (hérité 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. (hérité de TSqlFragment.) |
![]() |
OnFileGroupOrPartitionScheme | Gets or sets the file group or partition scheme. It might be nullune référence Null (Nothing dans Visual Basic). |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (hérité de TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (hérité de TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (hérité de TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (hérité de TSqlFragment.) |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Accept | Indicates the entry point for a given visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Calls Accept on the children with the given visitor. (remplace ConstraintDefinition.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
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.
.gif)
.gif)
.gif)