FunctionNotASmoObjectException Constructor (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
)

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.