Compartir a través de


FunctionNotASmoObjectException Constructor (String, String)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
Public Sub New ( _
    functionName As String, _
    targetType As String _
)
'Uso
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
)

Parámetros

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

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

FunctionNotASmoObjectException Clase

Sobrecarga de FunctionNotASmoObjectException

Espacio de nombres Microsoft.SqlServer.Management.Dmf