SqlCommandBuilder.QuoteSuffix 屬性

定義

取得或設定一或多個結束字元,當指定其名稱包含空格或語彙基元之類字元的 SQL Server 資料庫物件 (例如資料表或資料行) 時,就可以使用。

public:
 virtual property System::String ^ QuoteSuffix { System::String ^ get(); void set(System::String ^ value); };
public:
 property System::String ^ QuoteSuffix { System::String ^ get(); void set(System::String ^ value); };
public override string QuoteSuffix { get; set; }
[System.ComponentModel.Browsable(false)]
[System.Data.DataSysDescription("SqlCommandBuilder_QuoteSuffix")]
public string QuoteSuffix { get; set; }
[System.ComponentModel.Browsable(false)]
public override string QuoteSuffix { get; set; }
member this.QuoteSuffix : string with 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 Overrides Property QuoteSuffix As String
Public Property QuoteSuffix As String

屬性值

要使用的結束字元。 預設為空字串。

屬性

例外狀況

在已經產生插入、更新或刪除命令之後,無法變更這個屬性。

備註

注意

雖然您無法在產生插入、更新或刪除作業之後變更 QuotePrefixQuoteSuffix 屬性,但您可以在呼叫 Update DataAdapter 的 方法之後變更其設定。

適用於

另請參閱