Aracılığıyla paylaş


sp_copymergesnapshot (Transact-SQL)

Belirtilen yayın anlık görüntü klasörü içinde listelenen klasöre kopyalar @ destination_folder.Bu saklı yordam, yayın veritabanı üzerinde yayımcı adresindeki yürütülür.

Konu bağlantısı simgesiTransact-sql sözdizimi kuralları

Sözdizimi

sp_copymergesnapshot [ @publication = ] 'publication', [ @destination_folder = ] 'destination_folder'

Bağımsız değişkenler

  • [ @publication=] 'publication'
    Is the name of the publication whose snapshot contents are to be copied.publication is sysname, with no default.

  • [ @destination_folder=] 'destination_folder'
    Is the name of the folder where the contents of the publication snapshot is to be copied.destination_folderis nvarchar(255), with no default.The destination_folder can be an alternate location such as on another server, on a network drive, or on removable media (such as CD-ROMs or removable disks).

Dönüş Kodu Değerleri

0 (başarılı) veya 1 (başarısız)

Açıklamalar

sp_copymergesnapshot birleştirmede kullanılan çoğaltma.Subscribers running Microsoft SQL Server version 7.0 and earlier cannot use the alternate snapshot location.

İzinler

Yalnızca üyeleri sysadmin sabit sunucu rolü veya db_owner sabit veritabanı rolü olabilir yürütmek sp_copymergesnapshot.