Classe FailedTargetSelectionException
The FailedTargetSelectionException class represents an exception that is thrown when target selection policy fails during deployment of a DAC.
Gerarchia di ereditarietà
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dac. . :: . .DeploymentValidationException
Microsoft.SqlServer.Management.Dac..::..FailedTargetSelectionException
Spazio dei nomi Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class FailedTargetSelectionException _
Inherits DeploymentValidationException
'Utilizzo
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
Nel tipo FailedTargetSelectionException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
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 alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
DacExceptionType | Gets the type of the exception. Ereditato da DacException. |
![]() |
Data | Ereditato da Exception. |
![]() |
HelpLink | Gets a string with the URL help link that further explains the exception. Ereditato da DacException. |
![]() |
HResult | Ereditato da Exception. |
![]() |
InnerException | Ereditato da Exception. |
![]() |
Message | Ereditato da Exception. |
![]() |
Source | Ereditato da Exception. |
![]() |
StackTrace | Ereditato da Exception. |
![]() |
TargetSite | Ereditato da Exception. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetBaseException | Ereditato da Exception. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetObjectData | Ereditato da Exception. |
![]() |
GetType | Ereditato da Exception. |
![]() |
Init | Initializes provider properties. Ereditato da DacException. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
SetHelpContext | Sets the help context for the help link. Ereditato da DacException. |
![]() |
ToString | Ereditato da Exception. |
In alto
Osservazioni
If the user chooses to skip policy evaluation in the deployment, this exception will not be thrown.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.