Partager via


Classe SelectStatementSnippet

Represents the select statement snippet.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class SelectStatementSnippet _
    Inherits SelectStatement
'Utilisation
Dim instance As SelectStatementSnippet
[SerializableAttribute]
public class SelectStatementSnippet : SelectStatement
[SerializableAttribute]
public ref class SelectStatementSnippet : public SelectStatement
[<SerializableAttribute>]
type SelectStatementSnippet =  
    class 
        inherit SelectStatement 
    end
public class SelectStatementSnippet extends SelectStatement

Le type SelectStatementSnippet expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SelectStatementSnippet Initializes a new instance of the SelectStatementSnippet class.

Haut de la page

Propriétés

  Nom Description
Propriété publique ComputeClauses Gets or sets the compute by clauses. May have zero elements. (hérité de SelectStatement.)
Propriété publique FirstTokenIndex Gets or sets the first token index. (hérité de TSqlFragment.)
Propriété publique FragmentLength Gets the fragment length. (hérité de TSqlFragment.)
Propriété publique Into Gets or sets the into table name. (hérité de SelectStatement.)
Propriété publique LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique OptimizerHints Gets or sets the optional optimizer hints. (hérité de StatementWithCtesAndXmlNamespaces.)
Propriété publique QueryExpression Gets or sets the main body of the select statement. (hérité de SelectStatement.)
Propriété publique Script Gets the script of the statement.
Propriété publique ScriptTokenStream Gets or sets a list of token streams. (hérité de TSqlFragment.)
Propriété publique StartColumn Gets the starting column. (hérité de TSqlFragment.)
Propriété publique StartLine Gets the starting line. (hérité de TSqlFragment.)
Propriété publique StartOffset Gets the fragment start offset value. (hérité de TSqlFragment.)
Propriété publique WithCtesAndXmlNamespaces Gets or sets the With common table expression and xml namespaces clause. Optional, may be nullune référence Null (Nothing dans Visual Basic). (hérité de StatementWithCtesAndXmlNamespaces.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Accepts entry point for a given visitor. (remplace SelectStatement.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Calls Accepts on the children with the given visitor. (remplace SelectStatement.AcceptChildren(TSqlFragmentVisitor).)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom