SqlReverseEngineer.FormatSqlString Method
Converts a SQL string to a string literal.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Shared Function FormatSqlString ( _
value As String _
) As String
'Usage
Dim value As String
Dim returnValue As String
returnValue = SqlReverseEngineer.FormatSqlString(value)
protected static string FormatSqlString(
string value
)
protected:
static String^ FormatSqlString(
String^ value
)
protected static function FormatSqlString(
value : String
) : String
static member FormatSqlString :
value:string -> string
Parameters
- value
Type: System.String
The SQL string to convert
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.