EscapeSequence Class

 

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

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

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

public class EscapeSequence

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodEscape(String)

Returns the specified string with any necessary escape characters added.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIdentifyEscapeSequence(String)

Identifies the escape sequence used in the specified string.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticRequiresEscaping(String)

Tests a string to see if it requires escaping to be a valid SQL Server token.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnescape(String)

Removes any escape characters from the specified string.

System_CAPS_pubmethodSystem_CAPS_staticUnescapeIdentifier(String)

Tests the specified string against each escape sequence and returns the unescaped string.

System_CAPS_pubmethodSystem_CAPS_staticUnescapeLiteral(String, Boolean)

Tests the specified string literal against each escape sequence and returns the unescaped string literal.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticBracketedEscapeSequence

Represents an escape sequence that uses square brackets as delimiters.

System_CAPS_pubfieldSystem_CAPS_staticDoubleQuotedEscapeSequence

Represents an escape sequence that uses double quotes as delimiters.

System_CAPS_pubfieldSystem_CAPS_staticSingleQuotedEscapeSequence

Represents an escape sequence that uses single quotes as delimiters.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: