SqlScriptGeneratorOptions.NewLineBeforeWhereClause 属性

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

命名空间:  Microsoft.SqlServer.TransactSql.ScriptDom
程序集:  Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

语法

声明
Public Property NewLineBeforeWhereClause As Boolean 
    Get 
    Set
用法
Dim instance As SqlScriptGeneratorOptions 
Dim value As Boolean 

value = instance.NewLineBeforeWhereClause

instance.NewLineBeforeWhereClause = value
public bool NewLineBeforeWhereClause { get; set; }
public:
property bool NewLineBeforeWhereClause {
    bool get ();
    void set (bool value);
}
member NewLineBeforeWhereClause : bool with get, set
function get NewLineBeforeWhereClause () : boolean 
function set NewLineBeforeWhereClause (value : boolean)

属性值

类型:System.Boolean
True if a newline exists before the WHERE clause in a SELECT statement; otherwise, false.

请参阅

参考

SqlScriptGeneratorOptions 类

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间