SqlCommandBuilder::QuotePrefix Property
.NET Framework (current version)
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.
Assembly: System.Data (in System.Data.dll)
public: [BrowsableAttribute(false)] property String^ QuotePrefix { virtual String^ get() override; virtual void set(String^ value) override; }
Property Value
Type: System::String^The starting character or characters to use. The default is an empty string.
| Exception | Condition |
|---|---|
| InvalidOperationException | This property cannot be changed after an INSERT, UPDATE, or DELETE command has been generated. |
Note |
|---|
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. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
