UseFTP Property

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

The UseFTP property specifies whether snapshot files are downloaded using File Transfer Protocol (FTP) by pull subscriptions.

構文

object.UseFTP [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetUseFTP(LPBOOL pRetVal);
HRESULT SetUseFTP(BOOL NewValue);

解説

When creating Internet-enabled pull subscriptions, set the UseFTP property to TRUE to download snapshot files from the Distributor using FTP protocol. Replication downloads files in .cab format, and then it decompresses them automatically. Use the FTPAddress, FTPLogin, FTPPassword, and FTPPort properties of the Publication object to assign additional FTP-related settings.

The AltSnapshotFolder property cannot be set at the same time that UseFTP is set to TRUE because AltSnapshotFolder might be used in conjunction with transporting snapshot files by means of portable media.

ms131926.note(ja-jp,SQL.90).gifメモ :
If an application calls UseFTP 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 or later" are returned.

Applies To:

MergePullSubscription2 Object

TransPullSubscription2 Object

参照

関連項目

AltSnapshotFolder Property
FTPAddress Property
FTPLogin Property
FTPPassword Property
FTPPort Property

ヘルプおよび情報

SQL Server 2005 の参考資料の入手