SqlCommandBuilder.QuoteIdentifier Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Given an unquoted identifier in the correct catalog case, returns the correct quoted form of that identifier. This includes correctly escaping any embedded quotes in the identifier.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

override QuoteIdentifier : 
        unquotedIdentifier:string -> string

Parameters

unquotedIdentifier
Type: System.String

The original unquoted identifier.

Return Value

Type: System.String

The quoted version of the identifier. Embedded quotes within the identifier are correctly escaped.

.NET Framework
Available since 2.0
Return to top
Show: