Bewerken

Delen via


SqlCommandBuilder.QuoteIdentifier(String) Method

Definition

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