sp_link_option procedure
Purpose Toset a message control parameter for a SQL Remote message link.
Syntax sp_link_option link-name,
userid,
option-name,
option-value
Parameters link-name:
file|ftp |mapi |smtp |vim
link-option-name:
file-option |ftp-option |mapi-option |smtp-option |vim-option
file-option:
debug|directory |unlink_delay
ftp-option:
active_mode |debug|host
|password|port |root_directory |user
mapi-option:
debug|force_download
|ipm_receive |ipm_send |profile
smtp-option:
debug|local_host |pop3_host |pop3_password
|pop3_userid |smtp_host |top_supported
vim-option:
debug|password |path |receive_all
|send_vim_mail |userid
link-option-value:
string
Permissions Musthave DBA authority. The publisher can set their own options.
Sideeffects Automaticcommit.
Seealso “SETREMOTE OPTION statement” on page 374
Description The Message Agent savesmessage link parameters when the user enters
themin the message link dialog box when the message link is first used. In
thiscase, it is not necessary to use this procedure explicitly. This procedure
ismost useful when preparing a consolidated database for extracting many
databases.
Theoption names are case sensitive. Thecase sensitivity of option values
dependson the option: booleanvalues are case insensitive, while the case
396