包含用于使连接字符串安全以及还原安全连接字符串的静态方法。
继承层次结构
System.Object
  Microsoft.Data.Schema.ConnectionStringSecurer
命名空间:  Microsoft.Data.Schema
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public NotInheritable Class ConnectionStringSecurer
public sealed class ConnectionStringSecurer
public ref class ConnectionStringSecurer sealed
[<Sealed>]
type ConnectionStringSecurer =  class end
public final class ConnectionStringSecurer
ConnectionStringSecurer 类型公开以下成员。
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | 
| .gif) | Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | 
| .gif) | GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | 
| .gif) | GetType | 获取当前实例的 Type。 (继承自 Object。) | 
| .gif) .gif) | MakeSafeToPersist | 返回连接字符串移除敏感部分(如密码)后的安全版本。 | 
| .gif) | MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | 
| .gif) .gif) | RestoreConnectionString | 将安全的部分连接字符串还原为其完整形式,其中包括如密码等敏感信息。 | 
| .gif) | ToString | 返回表示当前对象的字符串。 (继承自 Object。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。