MissingObjectException Constructor (String, String)

 

Initializes a new instance of the T:Microsoft.SqlServer.Management.Dmf. MissingObjectException class that has the specified received name and expected name.

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

Syntax

public MissingObjectException(
    string objectType,
    string objectName
)
public:
MissingObjectException(
    String^ objectType,
    String^ objectName
)
new : 
        objectType:string *
        objectName:string -> MissingObjectException
Public Sub New (
    objectType As String,
    objectName As String
)

Parameters

  • objectType
    Type: System.String

    A String value that specifies the type of object that is missing.

  • objectName
    Type: System.String

    A String value that specifies the name of the object that is missing.

Remarks

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

Examples

Handling SMO Exceptions

See Also

MissingObjectException Overload
MissingObjectException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top