SqlCommandBuilder.QuotePrefix Property
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.
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.
public:
property System::String ^ QuotePrefix { System::String ^ get(); void set(System::String ^ value); };
public:
virtual property System::String ^ QuotePrefix { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
[System.Data.DataSysDescription("SqlCommandBuilder_QuotePrefix")]
public string QuotePrefix { get; set; }
[System.ComponentModel.Browsable(false)]
public override string QuotePrefix { get; set; }
public override string QuotePrefix { 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
member this.QuotePrefix : string with get, set
Public Property QuotePrefix As String
Public Overrides Property QuotePrefix As String
Property Value
The starting character or characters to use. The default is an empty string.
- Attributes
Exceptions
This property cannot be changed after an INSERT, UPDATE, or DELETE command has been generated.
Remarks
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.