Sets the password used when connecting locally to the Distributor using SQL Server Authentication.
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
When possible, use Windows Authentication.
When possible, prompt users to enter security credentials at runtime. If you must store credentials, use the cryptographic services provided by the Microsoft Windows .NET Framework.
Stored passwords used to connect to the Distributor are never returned. Accessing this property will generate a PasswordWriteOnlyException exception.