The SqlServerManagementException class is an exception that is raised when a Microsoft SQL Server management error is encountered on the connection to the server.
The following tables list the members exposed by the SqlServerManagementException type.
Public Constructors
(see also Protected Constructors )
| 名称 | Description | |
|---|---|---|
| SqlServerManagementException | Overloaded. Initializes a new instance of the SqlServerManagementException class. | 
顶部
Protected Constructors
| 名称 | Description | |
|---|---|---|
| SqlServerManagementException | Overloaded. Initializes a new instance of the SqlServerManagementException class. | 
顶部
Public Properties
(see also Protected Properties )
| 名称 | Description | |
|---|---|---|
| .gif) | Data | (inherited from Exception ) | 
| .gif) | HelpLink | (inherited from Exception ) | 
| .gif) | InnerException | (inherited from Exception ) | 
| .gif) | Message | (inherited from Exception ) | 
| .gif) .gif) | ProductName | Gets the name of the product that caused the exception. | 
| .gif) | Source | (inherited from Exception ) | 
| .gif) | StackTrace | (inherited from Exception ) | 
| .gif) | TargetSite | (inherited from Exception ) | 
顶部
Protected Properties
| 名称 | Description | |
|---|---|---|
| .gif) | HResult | (inherited from Exception ) | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetBaseException | (inherited from Exception ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetObjectData | (inherited from Exception ) | 
| .gif) | GetType | (inherited from Exception ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ToString | (inherited from Exception ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
SqlServerManagementException Class
Microsoft.SqlServer.Management.Common Namespace