SqlCommandBuilder.QuotePrefix Property

Definition

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:
 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

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.

Applies to

See also