SqlScriptGeneratorOptions.NewLineBeforeHavingClause 属性

获取或设置一个布尔值,该值指示 SELECT 语句中的 HAVING 子句前是否应换行。

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
Public Property NewLineBeforeHavingClause As Boolean
    Get
    Set
public bool NewLineBeforeHavingClause { get; set; }
public:
property bool NewLineBeforeHavingClause {
    bool get ();
    void set (bool value);
}
member NewLineBeforeHavingClause : bool with get, set
function get NewLineBeforeHavingClause () : boolean
function set NewLineBeforeHavingClause (value : boolean)

属性值

类型:System.Boolean
如果 SELECT 语句中的 HAVING 子句前应换行,则返回 true;否则返回 false。

.NET Framework 安全性

请参见

参考

SqlScriptGeneratorOptions 类

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