다음을 통해 공유


CompilationSection.MaxBatchSize 속성

정의

일괄 처리된 컴파일당 최대 페이지 수를 가져오거나 설정합니다.

public:
 property int MaxBatchSize { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxBatchSize", DefaultValue=1000)]
public int MaxBatchSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxBatchSize", DefaultValue=1000)>]
member this.MaxBatchSize : int with get, set
Public Property MaxBatchSize As Integer

속성 값

단일 일괄 처리로 컴파일될 최대 페이지 수를 나타내는 정수 값입니다. 기본 페이지 수는 1000입니다.

특성

예제

다음 코드 예제에서는 속성을 사용 하는 방법을 보여 줍니다 MaxBatchSize . 이 코드 예제는 클래스에 제공된 더 큰 예제의 CompilationSection 일부입니다.

// Display MaxBatchSize property.
Console.WriteLine("MaxBatchSize: {0}", 
  configSection.MaxBatchSize);

// Set MaxBatchSize property.
configSection.MaxBatchSize = 1000;
' Display MaxBatchSize property.
Console.WriteLine("MaxBatchSize: {0}", _
 configSection.MaxBatchSize)

' Set MaxBatchSize property.
configSection.MaxBatchSize = 1000

적용 대상