PersistPassword 属性
此 API 支持 基础结构,但不能通过代码直接使用。
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.
命名空间: Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集: Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)
语法
声明
Public Property PersistPassword As Boolean
Get
Set
用法
Dim instance As UIConnectionInfo
Dim value As Boolean
value = instance.PersistPassword
instance.PersistPassword = value
public bool PersistPassword { get; set; }
public:
property bool PersistPassword {
bool get ();
void set (bool value);
}
member PersistPassword : bool with get, set
function get PersistPassword () : boolean
function set PersistPassword (value : boolean)
属性值
类型:System. . :: . .Boolean
A Boolean value that specifies true if the password should be persisted; otherwise, false.