Class LinkedServersSchema.DataContext
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
public class LinkedServersSchema.DataContext
- Inheritance
-
LinkedServersSchema.DataContext
- Extension Methods
Constructors
DataContext(IDataContext)
public DataContext(IDataContext dataContext)
Parameters
dataContext
IDataContext
Properties
LinkedLogins
sys.linked_logins (Transact-SQL)
Applies to: √ SQL Server (all supported versions)
Returns a row per linked-server-login mapping, for use by RPC and distributed queries from local server to the corresponding linked server.
See sys.linked_logins.
public ITable<LinkedServersSchema.LinkedLogin> LinkedLogins { get; }
Property Value
RemoteLogins
sys.remote_logins (Transact-SQL)
Applies to: √ SQL Server (all supported versions)
Returns a row per remote-login mapping. This catalog view is used to map incoming local logins that claim to be coming from a corresponding server to an actual local login.
See sys.remote_logins.
public ITable<LinkedServersSchema.RemoteLogin> RemoteLogins { get; }
Property Value
Servers
sys.servers (Transact-SQL)
Applies to: √ SQL Server (all supported versions) √ Azure SQL Managed Instance
Contains a row per linked or remote server registered, and a row for the local server that has server_id = 0.
See sys.servers.
public ITable<LinkedServersSchema.Server> Servers { get; }