Classe ExecuteAsStatement
Represents the EXECUTE AS statement.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.ExecuteAsStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class ExecuteAsStatement _
Inherits TSqlStatement
'Uso
Dim instance As ExecuteAsStatement
[SerializableAttribute]
public class ExecuteAsStatement : TSqlStatement
[SerializableAttribute]
public ref class ExecuteAsStatement : public TSqlStatement
[<SerializableAttribute>]
type ExecuteAsStatement =
class
inherit TSqlStatement
end
public class ExecuteAsStatement extends TSqlStatement
O tipo ExecuteAsStatement expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ExecuteAsStatement | Initializes a new instance of the ExecuteAsStatement class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Cookie | Gets or sets the cookie variable, if the WITH COOKIE option was used. | |
ExecuteContext | Gets or sets the execute context. | |
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.) | |
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.) | |
WithNoRevert | Gets or sets a value that indicates whether the NO REVERT option was specified. |
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 TSqlStatement.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.