Класс DeploymentValidationException
The DeploymentValidationException class represents an exception thrown during DAC deployment due to a validation error.
Иерархия наследования
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dac..::..DeploymentValidationException
Подробнее...
Пространство имен: Microsoft.SqlServer.Management.Dac
Сборка: Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public MustInherit Class DeploymentValidationException _
Inherits DacException
'Применение
Dim instance As DeploymentValidationException
[SerializableAttribute]
public abstract class DeploymentValidationException : DacException
[SerializableAttribute]
public ref class DeploymentValidationException abstract : public DacException
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type DeploymentValidationException =
class
inherit DacException
end
public abstract class DeploymentValidationException extends DacException
Тип DeploymentValidationException обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
DeploymentValidationException(String) | Initializes a new DeploymentValidationException instance with the specified error message. |
![]() |
DeploymentValidationException(String, Exception) | Initializes a new instance of the DeploymentValidationException class that has the specified message text and inner exception. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
DacExceptionType | Gets the type of the exception. (Производный от DacException.) |
![]() |
Data | (Производный от Exception.) |
![]() |
HelpLink | Gets a string with the URL help link that further explains the exception. (Производный от DacException.) |
![]() |
HResult | (Производный от Exception.) |
![]() |
InnerException | (Производный от Exception.) |
![]() |
Message | (Производный от Exception.) |
![]() |
Source | (Производный от Exception.) |
![]() |
StackTrace | (Производный от Exception.) |
![]() |
TargetSite | (Производный от Exception.) |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetBaseException | (Производный от Exception.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetObjectData | (Производный от Exception.) |
![]() |
GetType | (Производный от Exception.) |
![]() |
Init | Initializes provider properties. (Производный от DacException.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
SetHelpContext | Sets the help context for the help link. (Производный от DacException.) |
![]() |
ToString | (Производный от Exception.) |
В начало
Замечания
This class is the base class that is inherited by all other validation exceptions.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
Иерархия наследования
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dac..::..DeploymentValidationException
Microsoft.SqlServer.Management.Dac. . :: . .ActionNotSupportedException
Microsoft.SqlServer.Management.Dac. . :: . .ConnectionNotSetException
Microsoft.SqlServer.Management.Dac. . :: . .FailedTargetSelectionException
Microsoft.SqlServer.Management.Dac. . :: . .InvalidaDACTypeCredentialsException
Microsoft.SqlServer.Management.Dac. . :: . .InvalidaDatabaseStateException
Microsoft.SqlServer.Management.Dac. . :: . .MissingDacSchemaException
Microsoft.SqlServer.Management.Dac. . :: . .MissingServerPermissionsException
Microsoft.SqlServer.Management.Dac. . :: . .MissingServerPermissionsForRePartException