Classe BeginTransactionStatement
Represents the begin transaction and begin distributed transaction statements.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.TransactionStatement
Microsoft.SqlServer.TransactSql.ScriptDom.BeginTransactionStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class BeginTransactionStatement _
Inherits TransactionStatement
'Uso
Dim instance As BeginTransactionStatement
[SerializableAttribute]
public class BeginTransactionStatement : TransactionStatement
[SerializableAttribute]
public ref class BeginTransactionStatement : public TransactionStatement
[<SerializableAttribute>]
type BeginTransactionStatement =
class
inherit TransactionStatement
end
public class BeginTransactionStatement extends TransactionStatement
O tipo BeginTransactionStatement expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
BeginTransactionStatement | Initializes a new instance of the BeginTransactionStatement class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Distributed | Gets or sets whether this is a distributed transaction. | |
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.) | |
MarkDefined | Gets or sets whether the mark is defined. | |
MarkDescription | Gets or sets the description of the mark. | |
Name | Gets or sets the name of the save point. It is either an Identifier, Literal of type variable, or string. (Herdado de TransactionStatement.) | |
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 | Accepts a visit from the specified visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) | |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Substitui TransactionStatement.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.