Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EscapeSequence Class

Provides methods for escaping and unescaping strings based on the Transact-SQL language.

System.Object
  Microsoft.SqlServer.Management.SqlParser.Parser.EscapeSequence

Namespace:  Microsoft.SqlServer.Management.SqlParser.Parser
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
public class EscapeSequence

The EscapeSequence type exposes the following members.

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodEscapeReturns the specified string with any necessary escape characters added.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberIdentifyEscapeSequenceIdentifies the escape sequence used in the specified string.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberRequiresEscapingTests a string to see if it requires escaping to be a valid SQL Server token.
Public methodToString (Inherited from Object.)
Public methodUnescapeRemoves any escape characters from the specified string.
Public methodStatic memberUnescapeIdentifierTests the specified string against each escape sequence and returns the unescaped string.
Public methodStatic memberUnescapeLiteralTests the specified string literal against each escape sequence and returns the unescaped string literal.
Top
  NameDescription
Public fieldStatic memberBracketedEscapeSequenceRepresents an escape sequence that uses square brackets as delimiters.
Public fieldStatic memberDoubleQuotedEscapeSequenceRepresents an escape sequence that uses double quotes as delimiters.
Public fieldStatic memberSingleQuotedEscapeSequenceRepresents an escape sequence that uses single quotes as delimiters.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.