Partager via


Propriété UserDefinedMessage.Text

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Text As String 
    Get 
    Set
'Utilisation
Dim instance As UserDefinedMessage 
Dim value As String 

value = instance.Text

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

Valeur de propriété

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

Exemples

Utilisation de messages

Voir aussi

Référence

UserDefinedMessage Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Erreurs et messages