Partager via


Constructeur MissingObjectException (String, String)

Initializes a new instance of the MissingObjectException class that has the specified received name and expected name.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    objectType As String, _
    objectName As String _
)
'Utilisation
Dim objectType As String 
Dim objectName As String 

Dim instance As New MissingObjectException(objectType, _
    objectName)
public MissingObjectException(
    string objectType,
    string objectName
)
public:
MissingObjectException(
    String^ objectType, 
    String^ objectName
)
new : 
        objectType:string * 
        objectName:string -> MissingObjectException
public function MissingObjectException(
    objectType : String, 
    objectName : String
)

Paramètres

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

MissingObjectException Classe

Surcharge MissingObjectException

Espace de noms Microsoft.SqlServer.Management.Dmf