Password Property
The Password property of the SqlConnectionString class gets the value of the Password or Pwd argument from the connection string.
Property Value
The Password or Pwd argument of the connection string. This value is null when making a trusted connection to the database server.
Remarks
The properties of the SqlConnectionString correspond to the name/value pairs that compose a .NET Framework Data Provider for SQL Server connection string.
The UserId and Password properties of the SqlConnectionString class are not used, since Microsoft Office SharePoint Portal Server 2003 supports only trusted connections to a SQL Server instance.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security