Classe FailedTargetSelectionException
The FailedTargetSelectionException class represents an exception that is thrown when target selection policy fails during deployment of a DAC.
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..::..FailedTargetSelectionException
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public NotInheritable Class FailedTargetSelectionException _
Inherits DeploymentValidationException
'Utilisation
Dim instance As FailedTargetSelectionException
[SerializableAttribute]
public sealed class FailedTargetSelectionException : DeploymentValidationException
[SerializableAttribute]
public ref class FailedTargetSelectionException sealed : public DeploymentValidationException
[<SealedAttribute>]
[<SerializableAttribute>]
type FailedTargetSelectionException =
class
inherit DeploymentValidationException
end
public final class FailedTargetSelectionException extends DeploymentValidationException
Le type FailedTargetSelectionException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
FailedTargetSelectionException() () () () | Initializes a new default instance of the FailedTargetSelectionException class. | |
FailedTargetSelectionException(Exception) | Initializes a new instance of the DacExtractionException class with the specified inner exception. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
DacExceptionType | Gets the type of the exception. (hérité de DacException.) | |
Data | (hérité de Exception.) | |
HelpLink | Gets a string with the URL help link that further explains the exception. (hérité de DacException.) | |
HResult | (hérité de Exception.) | |
InnerException | (hérité de Exception.) | |
Message | (hérité de Exception.) | |
Source | (hérité de Exception.) | |
StackTrace | (hérité de Exception.) | |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetBaseException | (hérité de Exception.) | |
GetHashCode | (hérité de Object.) | |
GetObjectData | (hérité de Exception.) | |
GetType | (hérité de Exception.) | |
Init | Initializes provider properties. (hérité de DacException.) | |
MemberwiseClone | (hérité de Object.) | |
SetHelpContext | Sets the help context for the help link. (hérité de DacException.) | |
ToString | (hérité de Exception.) |
Haut de la page
Notes
If the user chooses to skip policy evaluation in the deployment, this exception will not be thrown.
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.