Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
The SqlServerManagementException class is an exception that is raised when a SQL Server management error is encountered on the connection to the server.
Иерархия наследования
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Подробнее...
Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)
Синтаксис
'Декларация
Public Class SqlServerManagementException _
Inherits Exception
'Применение
Dim instance As SqlServerManagementException
public class SqlServerManagementException : Exception
public ref class SqlServerManagementException : public Exception
type SqlServerManagementException =
class
inherit Exception
end
public class SqlServerManagementException extends Exception
Тип SqlServerManagementException обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
SqlServerManagementException() | Initializes a new instance of the SqlServerManagementException class. |
![]() |
SqlServerManagementException(String) | Initializes a new instance of the SqlServerManagementException class with the specified message text. |
![]() |
SqlServerManagementException(SerializationInfo, StreamingContext) | Initializes a new instance of the SqlServerManagementException class with the specified serialization information and streaming context. |
![]() |
SqlServerManagementException(String, Exception) | Initializes a new instance of the SqlServerManagementException class with the specified message text and inner exception. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
Data | (Производный от Exception.) |
![]() |
HelpLink | (Производный от Exception.) |
![]() |
HResult | (Производный от Exception.) |
![]() |
InnerException | (Производный от Exception.) |
![]() |
Message | (Производный от Exception.) |
![]() ![]() |
ProductName | Gets the name of the product that caused the exception. |
![]() |
Source | (Производный от Exception.) |
![]() |
StackTrace | (Производный от Exception.) |
![]() |
TargetSite | (Производный от Exception.) |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetBaseException | (Производный от Exception.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetObjectData | Важный элемент безопасности. (Производный от Exception.) |
![]() |
GetType | (Производный от Exception.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Exception.) |
В начало
События
| Имя | Описание | |
|---|---|---|
![]() |
SerializeObjectState | (Производный от Exception.) |
В начало
Замечания
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Примеры
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Common
Иерархия наследования
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Collector.CollectorException
Microsoft.SqlServer.Management.Common.TransferException
Microsoft.SqlServer.Management.Dmf.DmfException
Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerException
Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
Microsoft.SqlServer.Management.Sdk.Sfc.SfcException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Trace.SqlTraceException
Microsoft.SqlServer.Management.Utility.UtilityException
Microsoft.SqlServer.Management.XEvent.XEventException
.gif)
.gif)
.gif)
.gif)
.gif)