共用方式為


SqlScriptGeneratorOptions.NewLineBeforeHavingClause 屬性

Gets or sets a value that indicates whether a newline exists before the HAVING clause in a SELECT statement.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property NewLineBeforeHavingClause As Boolean 
    Get 
    Set
'用途
Dim instance As SqlScriptGeneratorOptions 
Dim value As Boolean 

value = instance.NewLineBeforeHavingClause

instance.NewLineBeforeHavingClause = value
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
True if a newline exists before the HAVING clause in a SELECT statement; otherwise, false.

請參閱

參考

SqlScriptGeneratorOptions 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間