Freigeben über


GroupByClause-Klasse

Represents the group by clause that can be used in statements like select and update.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.GroupByClause

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class GroupByClause _
    Inherits TSqlFragment
'Usage
Dim instance As GroupByClause
[SerializableAttribute]
public class GroupByClause : TSqlFragment
[SerializableAttribute]
public ref class GroupByClause : public TSqlFragment
[<SerializableAttribute>]
type GroupByClause =  
    class 
        inherit TSqlFragment 
    end
public class GroupByClause extends TSqlFragment

Der GroupByClause-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode GroupByClause Initializes a new instance of the GroupByClause class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft All Gets or sets a value that indicates whether the ALL keyword is used.
Öffentliche Eigenschaft FirstTokenIndex Gets or sets the first token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft FragmentLength Gets the fragment length. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft GroupByOption Gets or sets the GROUP BY option.
Öffentliche Eigenschaft GroupingSpecifications Gets a list of grouping specifications.
Öffentliche Eigenschaft LastTokenIndex Gets or sets the last token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft ScriptTokenStream Gets or sets a list of token streams. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartColumn Gets the starting column. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartLine Gets the starting line. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartOffset Gets the fragment start offset value. (Geerbt von TSqlFragment.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept Indicates the entry point for a given visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).)
Öffentliche Methode AcceptChildren Calls Accept on the children with the given visitor. (Überschreibt TSqlFragment.AcceptChildren(TSqlFragmentVisitor).)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace