Share via


SQLPassword Propiedad

Gets or sets the password of the SQL Server login to be used by the Microsoft SQL Server 2000 Data Transformation Services (DTS) package to be executed by the Exec80PackageTask.

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Ensamblado:  Microsoft.SqlServer.Exec80PackageTask (en Microsoft.SqlServer.Exec80PackageTask.dll)

Sintaxis

'Declaración
Public WriteOnly Property SQLPassword As String
    Set
'Uso
Dim instance As Exec80PackageTask
Dim value As String

instance.SQLPassword = value
public string SQLPassword { set; }
public:
virtual property String^ SQLPassword {
    void set (String^ value) sealed;
}
abstract SQLPassword : string with get, set
override SQLPassword : string with get, set
final function set SQLPassword (value : String)

Valor de la propiedad

Tipo: System. . :: . .String
A String that contains the password of the SQL Server login.

Implementa

IDTSExec80PackageTask. . :: . .SQLPassword

Comentarios

This property is used only if the Location property is set to SqlServer and the WindowsAuthentication property is set to false. If those properties are set as described and this property is set to a null reference (Nothing in Visual Basic) or to an empty string (""), an error occurs.

Nota

Whenever possible, use Windows Authentication.