Classe CreateTriggerStatement
Represents the CREATE TRIGGER statement.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.TriggerStatementBody
Microsoft.SqlServer.TransactSql.ScriptDom.CreateTriggerStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class CreateTriggerStatement _
Inherits TriggerStatementBody
'Uso
Dim instance As CreateTriggerStatement
[SerializableAttribute]
public class CreateTriggerStatement : TriggerStatementBody
[SerializableAttribute]
public ref class CreateTriggerStatement : public TriggerStatementBody
[<SerializableAttribute>]
type CreateTriggerStatement =
class
inherit TriggerStatementBody
end
public class CreateTriggerStatement extends TriggerStatementBody
O tipo CreateTriggerStatement expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
CreateTriggerStatement | Initializes a new instance of the CreateTriggerStatement class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
FirstTokenIndex | Gets or sets the first token index. (Herdado de TSqlFragment.) | |
FragmentLength | Gets the fragment length. (Herdado de TSqlFragment.) | |
IsNotForReplication | Gets or sets a value that indicates whether NOT FOR REPLICATION is defined. (Herdado de TriggerStatementBody.) | |
LastTokenIndex | Gets or sets the last token index. (Herdado de TSqlFragment.) | |
MethodSpecifier | Gets or sets the name of the method specifier. (Herdado de TriggerStatementBody.) | |
Name | Gets or sets the name of the trigger. It can at most be a two part name. (Herdado de TriggerStatementBody.) | |
Options | Gets or sets the Options in WITH clause - different options for trigger and function (Herdado de TriggerStatementBody.) | |
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.) | |
StatementList | Gets or sets the statements for trigger. (Herdado de TriggerStatementBody.) | |
TriggerActions | Gets or sets the trigger actions. (Herdado de TriggerStatementBody.) | |
TriggerObject | Gets or sets the target. (Herdado de TriggerStatementBody.) | |
TriggerType | Gets or sets the type of the trigger. (Herdado de TriggerStatementBody.) | |
WithAppend | Gets or sets a value that indicates whether WITH APPEND is defined. (Herdado de TriggerStatementBody.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Indicates the entry point for a given visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) | |
AcceptChildren | Calls Accept on the children with the given visitor. (Substitui TriggerStatementBody.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.