FileTransferType Property (Replication ActiveX)

The FileTransferType property returns or sets how the snapshot file is transferred.

ms147326.note(zh-tw,SQL.90).gif重要事項:
   Support has been dropped for creating subscriptions to Subscribers running SQL Server version 7.0 that are initialized using File Transfer Protocol (FTP).

語法

object.FileTransferType [= value]

備註

Part Description

object

Expression that evaluates to an object in the Applies To list.

value

Value from the FILE_TRANSFER_TYPE (Replication ActiveX) enumeration.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

備註

The file transfer options are FTP and Universal Naming Convention (UNC) (network file copy).

Data Type

FILE_TRANSFER_TYPE (Replication ActiveX)

Modifiable

Read/write

Prototype (C/C++)

HRESULT FileTransferType(FILE_TRANSFER_TYPE pVal);
HRESULT FileTransferType(FILE_TRANSFER_TYPE* pVal);