共用方式為


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 命名空間