Share via


UserDefinedMessage.Text Property

Gets or sets the textual description of the user-defined message.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property Text As String
    Get
    Set
'Usage
Dim instance As UserDefinedMessage
Dim value As String

value = instance.Text

instance.Text = value
[SfcPropertyAttribute]
public string Text { get; set; }
[SfcPropertyAttribute]
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member Text : string with get, set
function get Text () : String
function set Text (value : String)

Property Value

Type: System.String
A String value that specifies the textual description of the user-defined message.

Examples

Using Messages