Partager via


Constructeur AdapterAlreadyExistsException (String, String)

Initializes a new instance of the AdapterAlreadyExistsException class that has the specified interface and type.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    interfaceName As String, _
    typeName As String _
)
'Utilisation
Dim interfaceName As String 
Dim typeName As String 

Dim instance As New AdapterAlreadyExistsException(interfaceName, _
    typeName)
public AdapterAlreadyExistsException(
    string interfaceName,
    string typeName
)
public:
AdapterAlreadyExistsException(
    String^ interfaceName, 
    String^ typeName
)
new : 
        interfaceName:string * 
        typeName:string -> AdapterAlreadyExistsException
public function AdapterAlreadyExistsException(
    interfaceName : String, 
    typeName : String
)

Paramètres

  • interfaceName
    Type : System.String
    A String value that specifies the name of the referenced interface.
  • typeName
    Type : System.String
    A String value that specifies the type of the referenced object.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

AdapterAlreadyExistsException Classe

Surcharge AdapterAlreadyExistsException

Espace de noms Microsoft.SqlServer.Management.Dmf