共用方式為


SqlOlapConnectionInfoBase.SecurePassword 屬性

Gets or sets the secure password used to establish a connection.

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

語法

'宣告
<BrowsableAttribute(False)> _
Public Property SecurePassword As SecureString 
    Get 
    Set
'用途
Dim instance As SqlOlapConnectionInfoBase 
Dim value As SecureString 

value = instance.SecurePassword

instance.SecurePassword = value
[BrowsableAttribute(false)]
public SecureString SecurePassword { get; set; }
[BrowsableAttribute(false)]
public:
property SecureString^ SecurePassword {
    SecureString^ get ();
    void set (SecureString^ value);
}
[<BrowsableAttribute(false)>]
member SecurePassword : SecureString with get, set
function get SecurePassword () : SecureString 
function set SecurePassword (value : SecureString)

屬性值

型別:System.Security.SecureString
A SecureString value that specifies the password used to establish a connection.

請參閱

參考

SqlOlapConnectionInfoBase 類別

Microsoft.SqlServer.Management.Common 命名空間