UnsupportedObjectTypeException Constructor (String, String)

Initializes a new instance of the UnsupportedObjectTypeException class that has the specified object type and host.

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

Syntax

'Declaration
Public Sub New ( _
    typeName As String, _
    host As String _
)
'Usage
Dim typeName As String
Dim host As String

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

Parameters

  • typeName
    Type: System.String
    A String value that specifies the type of object that is not supported.
  • host
    Type: System.String
    A String that specifies the name of the host that is associated with the unsupported object.

Remarks

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