ISessionController 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示用于自动化外部进程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 查询。 |