Delen via


FailedOperationException.Message Property

Gets the message text that explains the exception.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Message As String 
    Get
'Usage
Dim instance As FailedOperationException 
Dim value As String 

value = instance.Message
public override string Message { get; }
public:
virtual property String^ Message {
    String^ get () override;
}
abstract Message : string 
override Message : string
override function get Message () : String

Property Value

Type: System.String
A String value that contains an explanation of the exception.

Implements

_Exception.Message

Examples

Handling SMO Exceptions

See Also

Reference

FailedOperationException Class

Microsoft.SqlServer.Management.Smo Namespace