Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Defines modifications to a table constraint.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableStatement
Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableConstraintModificationStatement
Spazio dei nomi Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
Public Class AlterTableConstraintModificationStatement _
Inherits AlterTableStatement
'Utilizzo
Dim instance As AlterTableConstraintModificationStatement
[SerializableAttribute]
public class AlterTableConstraintModificationStatement : AlterTableStatement
[SerializableAttribute]
public ref class AlterTableConstraintModificationStatement : public AlterTableStatement
[<SerializableAttribute>]
type AlterTableConstraintModificationStatement =
class
inherit AlterTableStatement
end
public class AlterTableConstraintModificationStatement extends AlterTableStatement
Nel tipo AlterTableConstraintModificationStatement sono esposti i membri seguenti.
Costruttori
| Nome | Descrizione | |
|---|---|---|
![]() |
AlterTableConstraintModificationStatement | Initializes a new instance of the AlterTableConstraintModificationStatement class. |
In alto
Proprietà
| Nome | Descrizione | |
|---|---|---|
![]() |
All | Gets or sets a value that indicates whether the modification is for all constraints. |
![]() |
ConstraintEnforcement | Sets whether the constraint is enabled or disabled. When disabled, future inserts or updates to the column are not validated against the constraint conditions. |
![]() |
ConstraintNames | Gets the names of constraints to be modified. Will have zero elements if All is true. |
![]() |
ExistingRowsCheckEnforcement | Gets or sets whether the data in the table is validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint. |
![]() |
FirstTokenIndex | Gets or sets the first token index. Ereditato da TSqlFragment. |
![]() |
FragmentLength | Gets the fragment length. Ereditato da TSqlFragment. |
![]() |
LastTokenIndex | Gets or sets the last token index. Ereditato da TSqlFragment. |
![]() |
SchemaObjectName | Gets or sets the name of the schema to which the table belongs. This can be, at most, a two-part name. Ereditato da AlterTableStatement. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. Ereditato da TSqlFragment. |
![]() |
StartColumn | Gets the starting column. Ereditato da TSqlFragment. |
![]() |
StartLine | Gets the starting line. Ereditato da TSqlFragment. |
![]() |
StartOffset | Gets the fragment start offset value. Ereditato da TSqlFragment. |
In alto
Metodi
| Nome | Descrizione | |
|---|---|---|
![]() |
Accept | Accepts the visitor. Esegue l'override di TSqlFragment.Accept(TSqlFragmentVisitor). |
![]() |
AcceptChildren | Accepts the visitor for Children. Esegue l'override di AlterTableStatement.AcceptChildren(TSqlFragmentVisitor). |
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetType | Ereditato da Object. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
ToString | Ereditato da Object. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
.gif)
.gif)
.gif)