Compartir a través de


SmoException Constructor (String)

Initializes a new instance of the SmoException class with the specified message.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    message As String _
)
'Uso
Dim message As String 

Dim instance As New SmoException(message)
public SmoException(
    string message
)
public:
SmoException(
    String^ message
)
new : 
        message:string -> SmoException
public function SmoException(
    message : String
)

Parámetros

  • message
    Tipo: System.String
    A String value that specifies the message string for the SMO exception.

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

SmoException Clase

Sobrecarga de SmoException

Espacio de nombres Microsoft.SqlServer.Management.Smo