TransPublication.CopySnapshot 메서드

Copies the latest snapshot files for a specific subscription to a destination folder.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public void CopySnapshot(
	string destinationFolder,
	string subscriber,
	string subscriptionDB
)

매개 변수

destinationFolder
유형: System.String
A String that specifies the destination directory path.
subscriber
유형: System.String
A String value that represents the name of the Subscriber to which subscription belongs.
subscriptionDB
유형: System.String
A String value that represents the subscription database name.

The CopySnapshot method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

Calling CopySnapshot is equivalent to executing sp_copysnapshot(Transact-SQL).

커뮤니티 추가 항목

추가
표시: