Share via


SystemMessage.Text Property

Gets the text of the system message.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Text As String
    Get
'Usage
Dim instance As SystemMessage
Dim value As String

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

Property Value

Type: System.String
A String value that specifies the text of the system message.

Examples

Using Messages