Click or drag to resize
SecurityHelperGetSafeQueryString Method (String)

Note: This API is now obsolete.

Returns safe sql query string - escapes apostrophes and escapes wildcard characters _, %, [].

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete use SqlHelper.EscapeQuotes and SqlHelper.EscapeLikeText instead.")]
public static string GetSafeQueryString(
	string input
)

Parameters

input
Type: SystemString
String to escape

Return Value

Type: String
See Also