مشاركة عبر


SystemMessage Class

The SystemMessage object represents messages defined by the system.

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

Syntax

'Declaration
Public NotInheritable Class SystemMessage _
    Inherits MessageObjectBase
'Usage
Dim instance As SystemMessage
public sealed class SystemMessage : MessageObjectBase
public ref class SystemMessage sealed : public MessageObjectBase
[<SealedAttribute>]
type SystemMessage =  
    class
        inherit MessageObjectBase
    end
public final class SystemMessage extends MessageObjectBase

Remarks

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

Examples

Using Messages

Inheritance Hierarchy

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

Thread Safety

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