SqlNotificationRequest.UserData Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.