แก้ไข

แชร์ผ่าน


DbCommandBuilder.QuoteIdentifier(String) Method

Definition

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

public:
 virtual System::String ^ QuoteIdentifier(System::String ^ unquotedIdentifier);
public virtual string QuoteIdentifier (string unquotedIdentifier);
abstract member QuoteIdentifier : string -> string
override this.QuoteIdentifier : string -> string
Public Overridable 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 properly escaped.

Applies to

See also