次の方法で共有


RemoteLogin Object

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The RemoteLogin object exposes the properties of a single login mapping record for connections to an instance of Microsoft SQL Server originating from another, known instance of SQL Server.

現在のオブジェクトを表す SQL-DMO オブジェクト モデル

Properties

LocalName Property

Trusted Property

RemoteName Property

 

Methods

Remove Method (Objects)

解説

An instance of SQL Server can maintain authentication information for connections originating from other instances of SQL Server. Server-originated connections are attempted when, for example, remote procedure calls (RPCs) are part of a Transact-SQL script.

Each instance of SQL Server in an organization can control access by listing the servers from which it accepts connections. For each of these remote servers, login-account mappings specify the local login used by a remote server connection when that remote server connects as part of a process run by the remote login.

With the RemoteLogin object, you can:

  • Map a login record on one instance of SQL Server to an existing login record on another instance of SQL Server.
  • Configure the local login attributes for a login defined on a remote instance of SQL Server.
  • Remove a remote login record from the list of logins mapped for the remote instance of SQL Server.