مشاركة عبر


AdapterAlreadyExistsException Constructor (String, String)

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Sub New ( _
    interfaceName As String, _
    typeName As String _
)
'Usage
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
)

Parameters

  • 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.

Remarks

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

Examples

Handling SMO Exceptions

See Also

Reference

AdapterAlreadyExistsException Class

AdapterAlreadyExistsException Overload

Microsoft.SqlServer.Management.Dmf Namespace