SmoException Constructor (String)
Initializes a new instance of the SmoException class with the specified message.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
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
)
Parameters
- message
Type: System.String
A String value that specifies the message string for the SMO exception.