Freigeben über


FunctionBadDatePartException-Konstruktor (String)

Initializes a new instance of the FunctionBadDatePartException class that has the specified message text.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

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

Parameter

  • message
    Typ: System.String
    A String value that specifies the message text that describes the event that caused the exception.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

FunctionBadDatePartException Klasse

FunctionBadDatePartException-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace