RemotePassword Property
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。 新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。
The RemotePassword property specifies a password used when a distributed query, or another Microsoft SQL Server process, accesses a data store using a linked server OLE DB data source definition.
構文
object.RemotePassword=value
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A string that matches the SQL Server data type sysname.
Data Type
String
Modifiable
Write-only prior to adding the LinkedServerLogin object to its containing LinkedServerLogins collection.
Prototype (C/C++)
HRESULT SetRemotePassword(SQLDMO_LPCSTR NewValue);
説明
When an OLE DB data source definition, called a linked server, is created, a login record is created that simply passes connection authentication data to the linked server when an attempt is made to establish a connection to the data source.
Configure a linked server definition to use specific authentication data by creating additional records mapping logins on the linking server. For more information about using SQL Distributed Management Objects (SQL-DMO) to configure linked server security, see LinkedServerLogin Object
Creating a LinkedServerLoginobject and modifying a RemotePassword property value require membership in either the sysadmin or securityadmin role.