SqlCommandBuilder.QuotePrefix Właściwość

Definicja

Pobiera lub ustawia początkowy znak lub znaki do użycia podczas określania obiektów bazy danych SQL Server, takich jak tabele lub kolumny, których nazwy zawierają znaki, takie jak spacje lub tokeny zarezerwowane.

public:
 virtual property System::String ^ QuotePrefix { System::String ^ get(); void set(System::String ^ value); };
public:
 property System::String ^ QuotePrefix { System::String ^ get(); void set(System::String ^ value); };
public override string QuotePrefix { get; set; }
[System.ComponentModel.Browsable(false)]
[System.Data.DataSysDescription("SqlCommandBuilder_QuotePrefix")]
public string QuotePrefix { get; set; }
[System.ComponentModel.Browsable(false)]
public override string QuotePrefix { get; set; }
member this.QuotePrefix : string with get, set
[<System.ComponentModel.Browsable(false)>]
[<System.Data.DataSysDescription("SqlCommandBuilder_QuotePrefix")>]
member this.QuotePrefix : string with get, set
[<System.ComponentModel.Browsable(false)>]
member this.QuotePrefix : string with get, set
Public Overrides Property QuotePrefix As String
Public Property QuotePrefix As String

Wartość właściwości

Początkowy znak lub znaki do użycia. Wartość domyślna to pusty ciąg.

Atrybuty

Wyjątki

Nie można zmienić tej właściwości po wygenerowaniu polecenia INSERT, UPDATE lub DELETE.

Uwagi

Uwaga

Chociaż nie można zmienić QuotePrefix właściwości lub QuoteSuffix po wygenerowaniu polecenia wstawiania, aktualizowania lub usuwania, można zmienić ich ustawienia po wywołaniu Update metody DataAdapter.

Dotyczy

Zobacz też