SqlScriptGeneratorOptions.IndentationSize 屬性

Gets or sets the number of spaces to use when indenting text.

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

語法

'宣告
Public Property IndentationSize As Integer 
    Get 
    Set
'用途
Dim instance As SqlScriptGeneratorOptions 
Dim value As Integer 

value = instance.IndentationSize

instance.IndentationSize = value
public int IndentationSize { get; set; }
public:
property int IndentationSize {
    int get ();
    void set (int value);
}
member IndentationSize : int with get, set
function get IndentationSize () : int 
function set IndentationSize (value : int)

屬性值

型別:System.Int32
The number of spaces to use when indenting text.

請參閱

參考

SqlScriptGeneratorOptions 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間