共用方式為


DbccStatement.ParenthesisRequired 屬性

取得或設定即使沒有常值時是否需要空的括號。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.ScriptDom.Sql (在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

語法

'宣告
Public Property ParenthesisRequired As Boolean
    Get
    Set
public bool ParenthesisRequired { get; set; }
public:
property bool ParenthesisRequired {
    bool get ();
    void set (bool value);
}
member ParenthesisRequired : bool with get, set
function get ParenthesisRequired () : boolean
function set ParenthesisRequired (value : boolean)

屬性值

型別:System.Boolean
如果即使沒有常值時仍然需要空的括號,會傳回 true,否則傳回 false。

.NET Framework 安全性

請參閱

參考

DbccStatement 類別

Microsoft.Data.Schema.ScriptDom.Sql 命名空間