FailedTargetSelectionException Class
The FailedTargetSelectionException class represents an exception that is thrown when target selection policy fails during deployment of a DAC.
Inheritance Hierarchy
Object
Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Dac.DacException
Microsoft.SqlServer.Management.Dac.DeploymentValidationException
Microsoft.SqlServer.Management.Dac.FailedTargetSelectionException
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaração
<SerializableAttribute> _
Public NotInheritable Class FailedTargetSelectionException _
Inherits DeploymentValidationException
'Uso
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
The FailedTargetSelectionException type exposes the following members.
Constructors
Name | 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. |
Top
Properties
Name | Description | |
---|---|---|
DacExceptionType | Gets the type of the exception. (Inherited from DacException.) | |
Data | (Inherited from Exception.) | |
HelpLink | Gets a string with the URL help link that further explains the exception. (Inherited from DacException.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
Init | Initializes provider properties. (Inherited from DacException.) | |
MemberwiseClone | (Inherited from Object.) | |
SetHelpContext | Sets the help context for the help link. (Inherited from DacException.) | |
ToString | (Inherited from Exception.) |
Top
Remarks
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.