Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Overrides Property QuoteSuffix As String
public override string QuoteSuffix { get; set; }
public:
virtual property String^ QuoteSuffix {
String^ get () override;
void set (String^ value) override;
}
/** @property */
public String get_QuoteSuffix ()
/** @property */
public void set_QuoteSuffix (String value)
public override function get QuoteSuffix () : String
public override function set QuoteSuffix (value : String)
Property Value
The ending character or characters to use. The default is an empty string.
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException | This property cannot be changed after an INSERT, UPDATE, or DELETE command has been generated. |
Remarks
Use the QuoteSuffix and QuotePrefix properties to specify delimiters, such as quotes, to encapsulate the object name.
Note
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.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Mobile 5.0, Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Mobile 2003 for Pocket PC, Windows CE 5.0
Version Information
.NET Framework and NET Compact Framework
Supported in 3.5
.NET Framework
Supported in 3.0
.NET Compact Framework and .Net Framework
Supported in 2.0
See Also
Reference
SqlCeCommandBuilder Class
SqlCeCommandBuilder Members
System.Data.SqlServerCe Namespace