SqlCommandBuilder::QuoteSuffix Property

 

Gets or sets the ending 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.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public:
[BrowsableAttribute(false)]
property String^ QuoteSuffix {
	virtual String^ get() override;
	virtual void set(String^ value) override;
}

Property Value

Type: System::String^

The ending 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.

System_CAPS_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 DataAdapter.

.NET Framework
Available since 1.1
Return to top
Show: