Поделиться через


Свойство 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.