SqlCommandBuilder.QuoteSuffix 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置指定 SQL Server 数据库对象(如表或列)时要使用的结束字符或字符,其名称包含空格或保留标记等字符。
public:
property System::String ^ QuoteSuffix { System::String ^ get(); void set(System::String ^ value); };
public:
virtual property System::String ^ QuoteSuffix { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
[System.Data.DataSysDescription("SqlCommandBuilder_QuoteSuffix")]
public string QuoteSuffix { get; set; }
[System.ComponentModel.Browsable(false)]
public override string QuoteSuffix { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Data.DataSysDescription("SqlCommandBuilder_QuoteSuffix")>]
member this.QuoteSuffix : string with get, set
[<System.ComponentModel.Browsable(false)>]
member this.QuoteSuffix : string with get, set
Public Property QuoteSuffix As String
Public Overrides Property QuoteSuffix As String
属性值
要使用的结束字符或字符。 默认值为空字符串。
- 属性
例外
生成插入、更新或删除命令后,无法更改此属性。
注解
注释
虽然在生成插入、更新或删除操作后无法更改 QuotePrefix 或 QuoteSuffix 属性,但在调用 Update DataAdapter 方法后,可以更改其设置。