PersistPassword 屬性
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: 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)