Topic Status: Some information in this topic is pre-release and subject to change in future releases. Pre-release information describes new features or changes to existing features in Microsoft SQL Server 2014.
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.