AdapterAlreadyExistsException 构造函数 (String, String)

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

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Sub New ( _
    interfaceName As String, _
    typeName As String _
)
用法
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
)

参数

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

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

处理 SMO 异常

请参阅

参考

AdapterAlreadyExistsException 类

AdapterAlreadyExistsException 重载

Microsoft.SqlServer.Management.Dmf 命名空间