Classe DeploymentValidationException

The DeploymentValidationException class represents an exception thrown during DAC deployment due to a validation error.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Dac. . :: . .DacException
        Microsoft.SqlServer.Management.Dac..::..DeploymentValidationException
          Plus...

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

Syntaxe

'Déclaration
<SerializableAttribute> _
Public MustInherit Class DeploymentValidationException _
    Inherits DacException
'Utilisation
Dim instance As DeploymentValidationException
[SerializableAttribute]
public abstract class DeploymentValidationException : DacException
[SerializableAttribute]
public ref class DeploymentValidationException abstract : public DacException
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type DeploymentValidationException =  
    class
        inherit DacException
    end
public abstract class DeploymentValidationException extends DacException

Le type DeploymentValidationException expose les membres suivants.

Constructeurs

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

Haut de la page

Propriétés

  Nom Description
Propriété publique DacExceptionType Gets the type of the exception. (hérité de DacException.)
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink Gets a string with the URL help link that further explains the exception. (hérité de DacException.)
Propriété protégée HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
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 protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData (hérité de Exception.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée Init Initializes provider properties. (hérité de DacException.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée SetHelpContext Sets the help context for the help link. (hérité de DacException.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Notes

This class is the base class that is inherited by all other validation exceptions.

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.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Dac. . :: . .DacException
        Microsoft.SqlServer.Management.Dac..::..DeploymentValidationException
          Microsoft.SqlServer.Management.Dac. . :: . .ActionNotSupportedException
          Microsoft.SqlServer.Management.Dac. . :: . .ConnectionNotSetException
          Microsoft.SqlServer.Management.Dac. . :: . .FailedTargetSelectionException
          Microsoft.SqlServer.Management.Dac. . :: . .InvalidaDACTypeCredentialsException
          Microsoft.SqlServer.Management.Dac. . :: . .InvalidaDatabaseStateException
          Microsoft.SqlServer.Management.Dac. . :: . .MissingDacSchemaException
          Microsoft.SqlServer.Management.Dac. . :: . .MissingServerPermissionsException
          Microsoft.SqlServer.Management.Dac. . :: . .MissingServerPermissionsForRePartException