FailedTargetSelectionException Class

The FailedTargetSelectionException class represents an exception that is thrown when target selection policy fails during deployment of a DAC.

Inheritance Hierarchy


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


<SerializableAttribute> _
Public NotInheritable Class FailedTargetSelectionException _
    Inherits DeploymentValidationException
Dim instance As FailedTargetSelectionException
public sealed class FailedTargetSelectionException : DeploymentValidationException
public ref class FailedTargetSelectionException sealed : public DeploymentValidationException
type FailedTargetSelectionException =  
        inherit DeploymentValidationException
public final class FailedTargetSelectionException extends DeploymentValidationException

The FailedTargetSelectionException type exposes the following members.


  Name Description
Public method FailedTargetSelectionException() Initializes a new default instance of the FailedTargetSelectionException class.
Public method FailedTargetSelectionException(Exception) Initializes a new instance of the DacExtractionException class with the specified inner exception.



  Name Description
Public property DacExceptionType Gets the type of the exception. (Inherited from DacException.)
Public property Data (Inherited from Exception.)
Public property HelpLink Gets a string with the URL help link that further explains the exception. (Inherited from DacException.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)



  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method Init Initializes provider properties. (Inherited from DacException.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetHelpContext Sets the help context for the help link. (Inherited from DacException.)
Public method ToString (Inherited from Exception.)



If the user chooses to skip policy evaluation in the deployment, this exception will not be thrown.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.SqlServer.Management.Dac Namespace