ScriptingOptions.BatchSize 속성
Gets or sets the number of statements after which to script batch terminator.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Property BatchSize As Integer
Get
Set
‘사용 방법
Dim instance As ScriptingOptions
Dim value As Integer
value = instance.BatchSize
instance.BatchSize = value
public int BatchSize { get; set; }
public:
property int BatchSize {
int get ();
void set (int value);
}
member BatchSize : int with get, set
function get BatchSize () : int
function set BatchSize (value : int)
속성 값
유형: System.Int32
A Int32 value that indicates the number of insert statements that are scripted before a batch terminator is inserted.
주의
The default for this property is 1.
예
The following code example sets the scripts batch size to 10.
Visual Basic
Dim scOps As New ScriptingOptions()
scOps.BatchSize = 10
PowerShell
$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions
$scOps.BatchSize = 10
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스