Partager via


UserDefinedMessage Class

The UserDefinedMessage object represents a user-defined message.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class UserDefinedMessage
    Inherits MessageObjectBase
    Implements ICreatable, IDroppable, IAlterable, IScriptable
public sealed class UserDefinedMessage : MessageObjectBase, ICreatable, IDroppable, IAlterable, 
    IScriptable
public ref class UserDefinedMessage sealed : public MessageObjectBase, ICreatable, IDroppable, IAlterable, 
    IScriptable
public final class UserDefinedMessage extends MessageObjectBase implements ICreatable, IDroppable, 
    IAlterable, IScriptable
public final class UserDefinedMessage extends MessageObjectBase implements ICreatable, IDroppable, 
    IAlterable, IScriptable

Notes

The UserDefinedMessage object represents messages that have been defined by the user and SystemMessage object represents messages that are already defined by the system.

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

To get or set UserDefinedMessage object properties, users can be a member of the public fixed server role.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.SqlSmoObject
       Microsoft.SqlServer.Management.Smo.MessageObjectBase
        Microsoft.SqlServer.Management.Smo.UserDefinedMessage

Exemple

How to: Find a Particular System Message in Visual Basic .NET

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

UserDefinedMessage Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Using Messages
Erreurs et messages