Compartir a través de


ConversionNotSupportedException Constructor (String, String)

Initializes a new instance of the ConversionNotSupportedException class with the specified host and type.

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

Sintaxis

'Declaración
Public Sub New ( _
    host As String, _
    typeName As String _
)
'Uso
Dim host As String 
Dim typeName As String 

Dim instance As New ConversionNotSupportedException(host, typeName)
public ConversionNotSupportedException(
    string host,
    string typeName
)
public:
ConversionNotSupportedException(
    String^ host, 
    String^ typeName
)
new : 
        host:string * 
        typeName:string -> ConversionNotSupportedException
public function ConversionNotSupportedException(
    host : String, 
    typeName : String
)

Parámetros

  • host
    Tipo: System.String
    A String value that specifies the host that is associated with the conversion.
  • typeName
    Tipo: System.String
    A String value that specifies the type that was being converted.

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

ConversionNotSupportedException Clase

Sobrecarga de ConversionNotSupportedException

Espacio de nombres Microsoft.SqlServer.Management.Dmf