Share via


PublisherConnectionSecurityContext.SecureSqlStandardPassword Property

Definition

Sets the password (as a SecureString object) for the SqlStandardLogin when using SQL Server Authentication.

public:
 property System::Security::SecureString ^ SecureSqlStandardPassword { System::Security::SecureString ^ get(); void set(System::Security::SecureString ^ value); };
public System.Security.SecureString SecureSqlStandardPassword { get; set; }
member this.SecureSqlStandardPassword : System.Security.SecureString with get, set
Public Property SecureSqlStandardPassword As SecureString

Property Value

A SecureString object.

Remarks

When possible, use Windows Authentication.

The SecureSqlStandardPassword property provides additional security for the password while it is stored in memory and should be used instead of SqlStandardPassword.

When possible, prompt users to enter security credentials at run time. If you must store credentials, use the cryptographic services provided by the Microsoft Windows .NET Framework.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Applies to