Compartir a través de


ConnectionSettings.SecurePassword Propiedad

Gets or sets the secure password used with the logon to establish a connection with the server when SQL Server Authentication is used.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
<BrowsableAttribute(False)> _
Public Property SecurePassword As SecureString 
    Get 
    Set
'Uso
Dim instance As ConnectionSettings 
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)

Valor de la propiedad

Tipo: System.Security.SecureString
A SecureString value that specifies the secure password that is required when you are using SQL Server Authentication.

Comentarios

The password property does not require a value when Windows Authentication is used.

Vea también

Referencia

ConnectionSettings Clase

Espacio de nombres Microsoft.SqlServer.Management.Common