Udostępnij za pośrednictwem


FileTransferType Property (Replication ActiveX)

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

Important

   Support has been dropped for creating subscriptions to Subscribers running SQL Server version 7.0 that are initialized using File Transfer Protocol (FTP).

Syntax

object.FileTransferType [= value]

Remarks

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)

Remarks

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);