Partager via


Classe OdbcLiteral

Represents an Open Database Connectivity (ODBC) formatted literal.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
      Microsoft.SqlServer.TransactSql.ScriptDom.PrimaryExpression
        Microsoft.SqlServer.TransactSql.ScriptDom.ValueExpression
          Microsoft.SqlServer.TransactSql.ScriptDom.Literal
            Microsoft.SqlServer.TransactSql.ScriptDom.OdbcLiteral

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

Syntaxe

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

Le type OdbcLiteral expose les membres suivants.

Constructeurs

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

Haut de la page

Propriétés

  Nom Description
Propriété publique Collation Gets or sets the collation identifier. (hérité de PrimaryExpression.)
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 IsNational Gets or sets a value that indicates whether the string is Unicode.
Propriété publique LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique LiteralType Gets or sets the literal type. (remplace Literal.LiteralType.)
Propriété publique OdbcLiteralType Gets the Open Database Connectivity (ODBC) literal type.
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 Value Gets or sets the literal value. (hérité de Literal.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Accepts a visit from the specified visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Accepts a visit for the Children from the specified visitor. (remplace Literal.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