Applies To: SQL Server 2014, SQL Server 2016 Preview
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
Copies the snapshot folder of the specified publication to the folder listed in the @destination_folder. This stored procedure is executed at the Publisher on the publication database. This stored procedure is useful for copying a snapshot to removable media, such as CD-ROM.
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 are 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).
[ @subscriber=] 'subscriber'
Is the name of the Subscriber. subscriber is sysname, with a default of NULL.
[ @subscriber_db=] 'subscriber_db'
Is the name of the subscription database. subscriber_db is sysname, with a default of NULL.