Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlCeCommandBuilder.QuoteSuffix Property

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

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
public override string QuoteSuffix { get; set; }

Property Value

Type: System.String
The ending character or characters to use. The default is an empty string.
ExceptionCondition
InvalidOperationException

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

Use the QuoteSuffix and QuotePrefix properties to specify delimiters, such as quotes, to encapsulate the object name.

NoteNote

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.