Share via


SMOServerConn.Password Property

Sets the password for the connection, if you do not use Windows Authentication.

Namespace:  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

Syntax

'Declaration
Public WriteOnly Property Password As String
    Set
'Usage
Dim instance As SMOServerConn
Dim value As String

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

Property Value

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

Remarks

If you do not use Windows Authentication, you must provide the password for the connection.