OleDbCommandBuilder.QuoteIdentifier 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.
Overloads
QuoteIdentifier(String) |
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. |
QuoteIdentifier(String, OleDbConnection) |
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. |
QuoteIdentifier(String)
- Source:
- OleDbCommandBuilder.cs
- Source:
- OleDbCommandBuilder.cs
- Source:
- OleDbCommandBuilder.cs
- Source:
- OleDbCommandBuilder.cs
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.
See also
Applies to
QuoteIdentifier(String, OleDbConnection)
- Source:
- OleDbCommandBuilder.cs
- Source:
- OleDbCommandBuilder.cs
- Source:
- OleDbCommandBuilder.cs
- Source:
- OleDbCommandBuilder.cs
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:
System::String ^ QuoteIdentifier(System::String ^ unquotedIdentifier, System::Data::OleDb::OleDbConnection ^ connection);
public string QuoteIdentifier (string unquotedIdentifier, System.Data.OleDb.OleDbConnection connection);
public string QuoteIdentifier (string unquotedIdentifier, System.Data.OleDb.OleDbConnection? connection);
override this.QuoteIdentifier : string * System.Data.OleDb.OleDbConnection -> string
Public Function QuoteIdentifier (unquotedIdentifier As String, connection As OleDbConnection) As String
Parameters
- unquotedIdentifier
- String
The unquoted identifier to be returned in quoted format.
- connection
- OleDbConnection
When a connection is passed, causes the managed wrapper to get the quote character from the OLE DB provider. When no connection is passed, the string is quoted using values from QuotePrefix and QuoteSuffix.
Returns
The quoted version of the identifier. Embedded quotes within the identifier are correctly escaped.
See also
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per