SqlCommandBuilder.QuoteIdentifier(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
override System::String ^ QuoteIdentifier(System::String ^ unquotedIdentifier);
public override string QuoteIdentifier (string unquotedIdentifier);
override this.QuoteIdentifier : string -> string
Public Overrides Function QuoteIdentifier (unquotedIdentifier As String) As String
Parameters
- unquotedIdentifier
- String
The original unquoted identifier.
Returns
The quoted version of the identifier. Embedded quotes within the identifier are correctly escaped.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.