SqlNotificationRequest.UserData Property

Definition

Gets or sets an application-specific identifier for this notification.

public:
 property System::String ^ UserData { System::String ^ get(); void set(System::String ^ value); };
public string UserData { get; set; }
member this.UserData : string with get, set
Public Property UserData As String

Property Value

A string value of the application-specific identifier for this notification.

Exceptions

The value is longer than uint16.MaxValue.

Remarks

This value is not used by the notifications infrastructure. Instead, it is a mechanism that allows an application to associate notifications with application state. The value specified in the UserData property is included in the SQL Server 2005 queue message.

Applies to

See also