Classe SelectStatement
Represents a SELECT statement.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.StatementWithCtesAndXmlNamespaces
Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatement
Microsoft.SqlServer.TransactSql.ScriptDom.SelectStatementSnippet
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class SelectStatement _
Inherits StatementWithCtesAndXmlNamespaces
'Uso
Dim instance As SelectStatement
[SerializableAttribute]
public class SelectStatement : StatementWithCtesAndXmlNamespaces
[SerializableAttribute]
public ref class SelectStatement : public StatementWithCtesAndXmlNamespaces
[<SerializableAttribute>]
type SelectStatement =
class
inherit StatementWithCtesAndXmlNamespaces
end
public class SelectStatement extends StatementWithCtesAndXmlNamespaces
O tipo SelectStatement expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
SelectStatement | Initializes a new instance of the SelectStatement class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
ComputeClauses | Gets or sets the compute by clauses. May have zero elements. | |
FirstTokenIndex | Gets or sets the first token index. (Herdado de TSqlFragment.) | |
FragmentLength | Gets the fragment length. (Herdado de TSqlFragment.) | |
Into | Gets or sets the into table name. | |
LastTokenIndex | Gets or sets the last token index. (Herdado de TSqlFragment.) | |
OptimizerHints | Gets or sets the optional optimizer hints. (Herdado de StatementWithCtesAndXmlNamespaces.) | |
QueryExpression | Gets or sets the main body of the select statement. | |
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.) | |
WithCtesAndXmlNamespaces | Gets or sets the With common table expression and xml namespaces clause. Optional, may be nulluma referência nula (Nothing no Visual Basic). (Herdado de StatementWithCtesAndXmlNamespaces.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Accepts visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) | |
AcceptChildren | Accepts visitor for Children. (Substitui StatementWithCtesAndXmlNamespaces.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.