ChangePasswordFailureException 类
ChangePasswordFailureException 类是在尝试更改某登录名的密码失败时引发的异常,该登录名通过使用 SQL Server 身份验证与 SQL Server 实例建立连接。
继承层次结构
Object
Exception
SystemException
Microsoft.SqlServer.Management.Common.ConnectionException
Microsoft.SqlServer.Management.Common.ChangePasswordFailureException
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
<SerializableAttribute> _
Public NotInheritable Class ChangePasswordFailureException _
Inherits ConnectionException
用法
Dim instance As ChangePasswordFailureException
[SerializableAttribute]
public sealed class ChangePasswordFailureException : ConnectionException
[SerializableAttribute]
public ref class ChangePasswordFailureException sealed : public ConnectionException
[<SealedAttribute>]
[<SerializableAttribute>]
type ChangePasswordFailureException =
class
inherit ConnectionException
end
public final class ChangePasswordFailureException extends ConnectionException
ChangePasswordFailureException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
ChangePasswordFailureException() | 初始化 ChangePasswordFailureException 类的新实例。 |
![]() |
ChangePasswordFailureException(String) | 初始化具有指定消息文本的 ChangePasswordFailureException 类的新实例。 |
![]() |
ChangePasswordFailureException(String, Exception) | 初始化具有指定消息文本和内部异常的 ChangePasswordFailureException 类的新实例。 |
顶部
属性
名称 | 说明 | |
---|---|---|
![]() |
Data | (从 Exception 继承。) |
![]() |
HelpLink | (从 Exception 继承。) |
![]() |
HResult | (从 Exception 继承。) |
![]() |
InnerException | (从 Exception 继承。) |
![]() |
Message | (从 Exception 继承。) |
![]() |
Source | (从 Exception 继承。) |
![]() |
StackTrace | (从 Exception 继承。) |
![]() |
TargetSite | (从 Exception 继承。) |
顶部
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
GetBaseException | (从 Exception 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetObjectData | 安全关键。 (从 Exception 继承。) |
![]() |
GetType | (从 Exception 继承。) |
![]() |
ToString | (从 Exception 继承。) |
顶部
注释
线程安全
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
示例
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。