Breyta

Deila með


SqlHelpers.GetStringEndsWithPattern(String, Char) Method

Definition

Creates a search pattern string where the specified text can have other text before it but not following it.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::String ^ GetStringEndsWithPattern(System::String ^ text, char escape);
public static string GetStringEndsWithPattern (string text, char escape);
static member GetStringEndsWithPattern : string * char -> string
Public Shared Function GetStringEndsWithPattern (text As String, escape As Char) As String

Parameters

text
String

The string to insert into the search pattern string.

escape
Char

The character to use to escape wildcard characters.

Returns

A search pattern string that contains the '%' character followed by the specified string.

Applies to