Share via


NSInstance.SqlPassword Property

Sets the password of the Microsoft SQL Server login account your application uses to connect to SQL Server.

Espacio de nombres: Microsoft.SqlServer.NotificationServices
Ensamblado: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintaxis

'Declaración
Public WriteOnly Property SqlPassword As String
public string SqlPassword { set; }
public:
virtual property String^ SqlPassword {
    void set (String^ value) sealed;
}
/** @property */
public final void set_SqlPassword (String value)
public final function set SqlPassword (value : String)

Valor de propiedad

A String containing the password of the SQL Server login account.

Notas

This property needs to be set only if you are using SQL Server Authentication to connect to the SQL Server instance that hosts your Notification Services databases.

The SqlPassword property is used in conjunction with the SqlUser property to specify the username and password of the SQL Server login account that the application uses to access the Notification Services databases. If these values are not specified, Microsoft Windows Authentication is used.

ms148533.note(es-es,SQL.90).gifImportante:
Microsoft strongly recommends that you use Windows Authentication rather than SQL Server Authentication. Windows Authentication has more security features, such as secure validation and encryption of passwords, auditing, password expiration, minimum password length, and account lockout after multiple invalid login requests.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

NSInstance Class
NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace