sp_changedistributiondb (Transact-SQL)
Dağıtım veritabanı özelliklerini değiştirir.Bu saklı yordam dağıtımcı herhangi bir veritabanı üzerinde sırasında yürütülür.
sp_changedistributiondb [ @database= ] 'database'
[ , [ @property= ] 'property' ]
[ , [ @value= ] 'value' ]
Bağımsız değişkenler
[ @database=] 'database'
Is the name of the distribution database.database is sysname, with no default.[ @property=] 'property'
Is the property to change for the given database.property is sysname, and can be one of these values.Değer
Açıklama
history_retention
Tablo saklama süresi geçmiş.
max_distretention
En büyük dağıtım saklama süresi.
min_distretention
En az bir dağıtım saklama süresi.
NULL(default)
Kullanılabilir tüm özellik değerleri yazdırılıyor.
[ @value=] 'value'
Is the new value for the specified property.value is nvarchar(255), with a default of NULL.
Dönüş Kodu Değerleri
0 (başarılı) veya 1 (hata)
Remarks
sp_changedistributiondb çoğaltma tüm türleri kullanılır.
İzinler
Yalnızca üyeleri sysadmin sunucu rolünü can sabit yürütmek sp_changedistributiondb.