Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlCredential.Password Property

.NET Framework 4.6 and 4.5

Returns the password component of the SqlCredential object.

Namespace:  System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public SecureString Password { get; }

Property Value

Type: System.Security.SecureString
Returns the password component of the SqlCredential object.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft