Share via


FunctionNotASmoObjectException Constructor (String, String)

 

Initializes a new instance of the T:Microsoft.SqlServer.Management.Dmf. 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

public FunctionNotASmoObjectException(
    string functionName,
    string targetType
)
public:
FunctionNotASmoObjectException(
    String^ functionName,
    String^ targetType
)
new : 
        functionName:string *
        targetType:string -> FunctionNotASmoObjectException
Public Sub New (
    functionName As String,
    targetType As String
)

Parameters

  • functionName
    Type: System.String

    A String value that specifies the name of the function that is associated with the exception.

  • targetType
    Type: System.String

    A String value that specifies type of object that is not supported.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

FunctionNotASmoObjectException Overload
FunctionNotASmoObjectException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top