Caution
Use the Microsoft.Data.SqlClient package instead.
SqlCredential provides a more secure way to specify the password for a login attempt using SQL Server Authentication.
SqlCredential is comprised of a user id and a password that will be used for SQL Server Authentication. The password in a SqlCredential object is of type SecureString.
SqlCredential cannot be inherited.
Windows Authentication (Integrated Security = true
) remains the most secure way to log in to a SQL Server database.
public ref class SqlCredential sealed
[System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")]
public sealed class SqlCredential
public sealed class SqlCredential
[<System.Obsolete("Use the Microsoft.Data.SqlClient package instead.")>]
type SqlCredential = class
type SqlCredential = class
Public NotInheritable Class SqlCredential
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4