Partager via


RemoteServer Object

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The RemoteServer object exposes the attributes of an instance of Microsoft SQL Server, known as a remote server, to another server.

Modèle objet SQL-DMO qui affiche l'objet en cours

Notes

To facilitate connections between instances of SQL Server in an organization, SQL Server uses remote-server naming.

An instance of SQL Server can maintain authentication information for connections originating from other instances of SQL Server. Each instance of SQL Server in an organization can control access by listing the instances of SQL Server from which it accepts connections.

When a remote server is named on an instance of SQL Server, the server maintaining the name list can, in turn, originate a connection to a named remote server.

With the RemoteServer object, you can:

  • Name a new SQL Server remote server.

  • Adjust the Mixed Mode attributes of a named remote server.

  • Execute Transact-SQL scripts on a named remote server.

  • Remove a remote server definition.

Notes

The RemoteServer object is compatible with instances of SQL Server versions 7.0 and alter. However, the RemoteServer2 object extends the functionality of the RemoteServer object for use with features that were introduced in SQL Server 2000.

Voir aussi

Référence