Classe FailedTargetSelectionException
The FailedTargetSelectionException class represents an exception that is thrown when target selection policy fails during deployment of a DAC.
Hierarquia de herança
System. . :: . .Object
System. . :: . .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 (em Microsoft.SqlServer.Management.Dac.dll)
Sintaxe
'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
O tipo FailedTargetSelectionException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
DacExceptionType | Gets the type of the exception. (Herdado de DacException.) | |
Data | (Herdado de Exception.) | |
HelpLink | Gets a string with the URL help link that further explains the exception. (Herdado de DacException.) | |
HResult | (Herdado de Exception.) | |
InnerException | (Herdado de Exception.) | |
Message | (Herdado de Exception.) | |
Source | (Herdado de Exception.) | |
StackTrace | (Herdado de Exception.) | |
TargetSite | (Herdado de Exception.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetBaseException | (Herdado de Exception.) | |
GetHashCode | (Herdado de Object.) | |
GetObjectData | (Herdado de Exception.) | |
GetType | (Herdado de Exception.) | |
Init | Initializes provider properties. (Herdado de DacException.) | |
MemberwiseClone | (Herdado de Object.) | |
SetHelpContext | Sets the help context for the help link. (Herdado de DacException.) | |
ToString | (Herdado de Exception.) |
Início
Comentários
If the user chooses to skip policy evaluation in the deployment, this exception will not be thrown.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.