SqlCommandBuilder.QuotePrefix Property


Gets or sets the starting character or characters to use when specifying SQL Server database objects, such as tables or columns, whose names contain characters such as spaces or reserved tokens.

 property System::String ^ QuotePrefix { System::String ^ get(); void set(System::String ^ value); };
public string QuotePrefix { get; set; }
member this.QuotePrefix : string with get, set
Public Property QuotePrefix As String

Property Value

The starting character or characters to use. The default is an empty string.



This property cannot be changed after an INSERT, UPDATE, or DELETE command has been generated.



Although you cannot change the QuotePrefix or QuoteSuffix properties after an insert, update, or delete command has been generated, you can change their settings after calling the Update method of a DataAdapter.

Applies to

See also