共用方式為


SqlScriptGeneratorOptions.IncludeSemicolons 屬性

Gets or sets a value that indicates whether a semi colon is included after each statement.

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

語法

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

value = instance.IncludeSemicolons

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

屬性值

型別:System.Boolean
True if a semi colon is included after each statement; otherwise, false.

請參閱

參考

SqlScriptGeneratorOptions 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間