Partilhar via


MessageObjectBase Class

The MessageObjectBase class is a base class that is inherited by message classes.

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

Syntax

'Declaration
Public Class MessageObjectBase
    Inherits SqlSmoObject
public class MessageObjectBase : SqlSmoObject
public ref class MessageObjectBase : public SqlSmoObject
public class MessageObjectBase extends SqlSmoObject
public class MessageObjectBase extends SqlSmoObject

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Inheritance Hierarchy

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

Example

How to: Add a New User-Defined Message in Visual Basic .NET

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MessageObjectBase Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Messages
RAISERROR (Transact-SQL)
SQL Server Agent