共用方式為


Password 屬性

Gets or sets the password used to establish a connection.

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

語法

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

value = instance.Password

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

屬性值

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