共用方式為


UIConnectionInfo.EncryptedPassword 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets or sets the encrypted password of the UIConnectionInfo.

命名空間:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
組件:  Microsoft.SqlServer.RegSvrEnum (在 Microsoft.SqlServer.RegSvrEnum.dll 中)

語法

'宣告
Public Property EncryptedPassword As String 
    Get 
    Set
'用途
Dim instance As UIConnectionInfo 
Dim value As String 

value = instance.EncryptedPassword

instance.EncryptedPassword = value
public string EncryptedPassword { get; set; }
public:
property String^ EncryptedPassword {
    String^ get ();
    void set (String^ value);
}
member EncryptedPassword : string with get, set
function get EncryptedPassword () : String 
function set EncryptedPassword (value : String)

屬性值

型別:System.String
The encrypted password of the UIConnectionInfo.

請參閱

參考

UIConnectionInfo 類別

Microsoft.SqlServer.Management.Smo.RegSvrEnum 命名空間