EvaluationFactory.LikeToRegex Method
Registers a string pattern for conditional comparisons.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Shared Function LikeToRegex ( _
likePattern As String _
) As String
'Usage
Dim likePattern As String
Dim returnValue As String
returnValue = EvaluationFactory.LikeToRegex(likePattern)
public static string LikeToRegex(
string likePattern
)
public:
static String^ LikeToRegex(
String^ likePattern
)
static member LikeToRegex :
likePattern:string -> string
public static function LikeToRegex(
likePattern : String
) : String
Parameters
- likePattern
Type: System.String
A String object value that specifies the string pattern.
Return Value
Type: System.String
A String value that specifies the string pattern.