sp_changedistributor_password (Transact-SQL)
Bir dağıtıcı için parolasını değiştirir.Bu saklı yordam, herhangi bir veritabanı üzerinde dağıtımcı adresindeki yürütülür.
Sözdizimi
sp_changedistributor_password [ @password= ] 'password'
Bağımsız değişkenler
- [ @password=] 'password'
Is the new password.password is sysname, with no default.Dağıtıcı yerelse parolasını distributor_admin sistem oturumu değişti.
Dönüş Kodu Değerleri
0 (başarılı) veya 1 (başarısız)
Açıklamalar
sp_changedistributor_password çoğaltma tüm türleri kullanılır.
Örnek
-- Change the password on the Distributor.
-- To avoid storing the password in the script file, the value is passed
-- into SQLCMD as a scripting variable. For information about how to use
-- scripting variables on the command line and in SQL Server Management
-- Studio, see the "Executing Replication Scripts" section in the topic
-- "Programming Replication Using System Stored Procedures".
USE master
EXEC sp_changedistributor_password $(Password)
GO
İzinler
Yalnızca üyeleri sysadmin sabit sunucu rolü olabilir yürütmek sp_changedistributor_password.