Поделиться через


NotificationClass.MulticastDelivery Property

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

Пространство имен: Microsoft.SqlServer.Management.Nmo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Property MulticastDelivery As Boolean
public bool MulticastDelivery { get; set; }
public:
property bool MulticastDelivery {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_MulticastDelivery ()

/** @property */
public void set_MulticastDelivery (boolean value)
public function get MulticastDelivery () : boolean

public function set MulticastDelivery (value : boolean)

Замечания

You cannot use multicast delivery with Microsoft SQL Server Standard Edition.

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

Multicast delivery conserves formatting and distribution resources by formatting and distributing identical notifications for multiple subscribers. A common use of multicast delivery is when many users will receive the same notification, such as for sports scores, and the notifications use the same locale and delivery device. Instead of formatting and sending the same message 50 times, Notification Services formats a single notification, determines the subscriber list, and then passes the array of subscribers to the delivery protocol.

If using multicast delivery, you should not include subscriber-specific information in your notifications.

You can limit the number of recipients in each multicast group with the MulticastRecipientLimit property.

Пример

The following examples show how to disable multicast delivery:

flightNotifications.MulticastDelivery = false;
flightNotifications.MulticastDelivery = False

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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

Другие ресурсы

Определение классов уведомлений
MulticastDelivery Element (ADF)
Задание сводной доставки или многоадресной доставки