Classe SearchedWhenClause
Represents the WHEN clause of the searched CASE expression.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.WhenClause
Microsoft.SqlServer.TransactSql.ScriptDom.SearchedWhenClause
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class SearchedWhenClause _
Inherits WhenClause
'Uso
Dim instance As SearchedWhenClause
[SerializableAttribute]
public class SearchedWhenClause : WhenClause
[SerializableAttribute]
public ref class SearchedWhenClause : public WhenClause
[<SerializableAttribute>]
type SearchedWhenClause =
class
inherit WhenClause
end
public class SearchedWhenClause extends WhenClause
O tipo SearchedWhenClause expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
SearchedWhenClause | Initializes a new instance of the SearchedWhenClause 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.) | |
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.) | |
ThenExpression | Gets or sets the expression that comes after THEN. (Herdado de WhenClause.) | |
WhenExpression | Gets or sets the Boolean expression that comes after the WHEN clause. |
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 WhenClause.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.