ISessionController 接口

定义

表示用于自动化外部进程DTAShell应用的接口。 它允许从外部进程创建新的调优会话。

public interface class ISessionController
public interface ISessionController
type ISessionController = interface
Public Interface ISessionController

方法

名称 说明
CreateSession(SqlConnectionInfo, String, String)

在提供的 XML 文件上创建一个新的调优会话对象。

CreateSessionFromQuery(SqlConnectionInfo, String, String)

创建一个新的默认调优会话,定义为 T-SQL 查询。

适用于