Share via


UIConnectionInfo.Password Property

This API supports the infrastructure and is not intended to be used directly from your code.

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Property Password As String
    Get
    Set
'Usage
Dim instance As UIConnectionInfo
Dim value As String

value = instance.Password

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

Property Value

Type: System.String
A String value that specifies the login password for the connection.

Remarks

When possible, use Windows Authentication.

Do not use a blank password. Use a strong password.