共用方式為


NotificationStatus.NotificationState Property

Gets a NotificationState object that contains notification information that must be passed back to the distributor.

命名空間: Microsoft.SqlServer.NotificationServices
組件: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

語法

'宣告
Public ReadOnly Property NotificationState As NotificationState
public NotificationState NotificationState { get; }
public:
property NotificationState^ NotificationState {
    NotificationState^ get ();
}
/** @property */
public NotificationState get_NotificationState ()
public function get NotificationState () : NotificationState

屬性值

A NotificationState object that contains notification information that must be passed back to the distributor.

備註

The NotificationState is passed to the delivery protocol in the DeliverNotification method as part of the NotificationHeaders object. NotificationState is passed to the delivery protocol for the purpose of being passed back again as part of the notification delivery status information in a NotificationStatus object. The information contained in NotificationState is not used within the delivery protocol; the object must just be copied from NotificationHeaders to the NotificationStatus.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

NotificationStatus Class
NotificationStatus Members
Microsoft.SqlServer.NotificationServices Namespace