Partager via


NotificationClass.DigestDelivery Property

Gets or sets the digest delivery setting for the notification class.

Espace de noms: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Property DigestDelivery As Boolean
public bool DigestDelivery { get; set; }
public:
property bool DigestDelivery {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_DigestDelivery ()

/** @property */
public void set_DigestDelivery (boolean value)
public function get DigestDelivery () : boolean

public function set DigestDelivery (value : boolean)

Valeur de propriété

true if notifications from the notification class can be combined into digest messages; otherwise, false.

Notes

Digest delivery combines multiple notifications for the same subscriber into a single notification. The notifications must all be in the same notification batch and also must have the same SubscriberId, SubscriberLocale, DeviceName, and matching values in any fields with a DigestGrouping value of true.

If the DigestDelivery value is true, the NotificationBatchSize property specifies the number of notification batches generated from a single rule firing.

You cannot use both digest delivery and multicast delivery. If using digest delivery, the MulticastDelivery property must be false.

Exemple

The following examples show how to use digest delivery for notifications generated for a notification class:

flightNotifications.DigestDelivery = true;
flightNotifications.DigestDelivery = True

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

Définition des classes de notification
Spécification de la livraison de type digest ou par multidiffusion