Freigeben über


FunctionNotASmoObjectException-Konstruktor (String, String)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified function and object type.

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

Syntax

'Declaration
Public Sub New ( _
    functionName As String, _
    targetType As String _
)
'Usage
Dim functionName As String 
Dim targetType As String 

Dim instance As New FunctionNotASmoObjectException(functionName, _
    targetType)
public FunctionNotASmoObjectException(
    string functionName,
    string targetType
)
public:
FunctionNotASmoObjectException(
    String^ functionName, 
    String^ targetType
)
new : 
        functionName:string * 
        targetType:string -> FunctionNotASmoObjectException
public function FunctionNotASmoObjectException(
    functionName : String, 
    targetType : String
)

Parameter

  • functionName
    Typ: System.String
    A String value that specifies the name of the function that is associated with the exception.
  • targetType
    Typ: System.String
    A String value that specifies type of object that is not supported.

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

FunctionNotASmoObjectException Klasse

FunctionNotASmoObjectException-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace