ISessionController.CreateSession Method (SqlConnectionInfo, String, String)
Applies To: SQL Server 2016 Preview
Creates a new tuning session object on Xml provided.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration
Assembly: SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)
Syntax
void CreateSession(
SqlConnectionInfo connectionInfo,
string sessionName,
string sessionXml
)
void CreateSession(
SqlConnectionInfo^ connectionInfo,
String^ sessionName,
String^ sessionXml
)
abstract CreateSession :
connectionInfo:SqlConnectionInfo *
sessionName:string *
sessionXml:string -> unit
Sub CreateSession (
connectionInfo As SqlConnectionInfo,
sessionName As String,
sessionXml As String
)
Parameters
connectionInfo
Type: Microsoft.SqlServer.Management.Common.SqlConnectionInfoA server connection info.
sessionName
Type: System.StringA String string that represents the name of the session.
sessionXml
Type: System.StringA session definition in Xml format.
See Also
ISessionController Interface
Microsoft.SqlServer.Management.UI.VSIntegration Namespace
Return to top