EscapeSequence Class
Provides methods for escaping and unescaping strings based on the Transact-SQL language.
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Escape(String^) | Returns the specified string with any necessary escape characters added. |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() ![]() | IdentifyEscapeSequence(String^) | Identifies the escape sequence used in the specified string. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() ![]() | RequiresEscaping(String^) | Tests a string to see if it requires escaping to be a valid SQL Server token. |
![]() | ToString() | (Inherited from Object.) |
![]() | Unescape(String^) | Removes any escape characters from the specified string. |
![]() ![]() | UnescapeIdentifier(String^) | Tests the specified string against each escape sequence and returns the unescaped string. |
![]() ![]() | UnescapeLiteral(String^, Boolean%) | Tests the specified string literal against each escape sequence and returns the unescaped string literal. |
| Name | Description | |
|---|---|---|
![]() ![]() | BracketedEscapeSequence | Represents an escape sequence that uses square brackets as delimiters. |
![]() ![]() | DoubleQuotedEscapeSequence | Represents an escape sequence that uses double quotes as delimiters. |
![]() ![]() | SingleQuotedEscapeSequence | 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.



