CopySnapshot Method (MergePublication2)

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The CopySnapshot method copies the latest snapshot files to the destination folder.

構文

object
.CopySnapshot(
pszDestinationFolder
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.
  • pszDestinationFolder
    String that specifies the destination folder.

Prototype (C/C++)

HRESULT CopySnapshot(SQLDMO_LPCSTR pszDestinationFolder);

解説

An application can call the CopySnapshot method only after the MergePublication2 object is created.

The pszDestinationFolder parameter specifies a folder relative to the server computer, not the client computer, if the destination folder is not a UNC path.

ms132006.note(ja-jp,SQL.90).gifメモ :
If an application calls CopySnapshot on an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000" are returned.

Applies to:

MergePublication2 Object