Partager via


Classe MissingObjectException

The MissingObjectException class represents the exception raised when an object is missing.

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Smo.SmoException
        Microsoft.SqlServer.Management.Smo.MissingObjectException

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

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class MissingObjectException _
    Inherits SmoException
'Utilisation
Dim instance As MissingObjectException
[SerializableAttribute]
public sealed class MissingObjectException : SmoException
[SerializableAttribute]
public ref class MissingObjectException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type MissingObjectException =  
    class 
        inherit SmoException 
    end
public final class MissingObjectException extends SmoException

Le type MissingObjectException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique MissingObjectException() Initializes a new instance of the MissingObjectException class.
Méthode publique MissingObjectException(String) Initializes a new instance of the MissingObjectException class with the specified message.
Méthode publique MissingObjectException(String, Exception) Initializes a new instance of the MissingObjectException class with the specified message and inner exception.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (hérité de SmoException.)
Propriété publique HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message Gets the message associated with the Missing Object exception. (remplace Exception.Message.)
Propriété publique SmoExceptionType Gets the type of SMO exception. (remplace SmoException.SmoExceptionType.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Informations critiques de sécurité. (hérité de Exception.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée SetHelpContext Sets the Help context value for the referenced exception. (hérité de SmoException.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Notes

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Gestion des exceptions SMO