Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ConnectionSettings.Password Property

Gets or sets the password used with the logon to establish a connection with the server when SQL Server Authentication is used.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
[BrowsableAttribute(false)]
public string Password { get; set; }

Property Value

Type: System.String
A String value that specifies the password that is required when you are using SQL Server Authentication.

The password property does not require a value when Windows Authentication is used.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.