Udostępnij za pośrednictwem


sp_remoteoption (Transact-SQL)

Displays or changes options for a remote login defined on the local server running SQL Server.

[!UWAGA]

This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible. sp_remoteoption does not change any options and returns an error message. It is supported for backward compatibility only.

Ikona łącza do tematu Transact-SQL Syntax Conventions

Składnia

sp_remoteoption [ [ @remoteserver = ] 'remoteserver' ] 
     [ , [ @loginame = ] 'loginame' ] 
     [ , [ @remotename = ] 'remotename' ] 
     [ , [ @optname = ] 'optname' ] 
     [ , [ @optvalue = ] 'optvalue' ]

Uwagi

This stored procedure returns the following error message:

The trusted option in remote login mapping is no longer supported.

Zobacz także

Koncepcje

Linked Servers (Database Engine)