다음을 통해 공유


NotificationClass.NotificationBatchSize Property

Gets or sets the notification batch size. For notifications not sent using digest delivery, the batch size specifies the maximum number of notifications per batch for the notification class. When using digest delivery, the batch size specifies the number of notification batches that are created.

네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Property NotificationBatchSize As Integer
public int NotificationBatchSize { get; set; }
public:
property int NotificationBatchSize {
    int get ();
    void set (int value);
}
/** @property */
public int get_NotificationBatchSize ()

/** @property */
public void set_NotificationBatchSize (int value)
public function get NotificationBatchSize () : int

public function set NotificationBatchSize (value : int)

속성 값

An Int32 that specifies the notification batch size for the notification class.

주의

NotificationBatchSize must be set to zero or not specified in Standard Edition.

For notifications that are not sent using digest delivery, the NotificationBatchSize value specifies the maximum number of notifications that can be included in a notification batch from a single rule firing. If the number of notifications generated from a single rule firing exceeds the NotificationBatchSize value, Notification Services creates multiple notification batches. Notifications within a notification batch can be considered for multicast delivery.

For digest delivery, NotificationBatchSize specifies the number of notification batches permitted from a single invocation of the generator, not the size of each batch. This is intended for use with large numbers of notifications. If the number of notifications generated is small, the number of notification batches might be different than specified.

The following examples show how to set the notification batch size to 500:

flightNotifications.NotificationBatchSize = 500;
flightNotifications.NotificationBatchSize = 500

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

NotificationClass Class
NotificationClass Members
Microsoft.SqlServer.Management.Nmo Namespace

관련 자료

알림 클래스 정의
NotificationBatchSize Element (ADF)
알림 일괄 처리 크기 지정