FileTransferType Property (Replication ActiveX)
The FileTransferType property returns or sets how the snapshot file is transferred.
重要提示: |
---|
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);