ISessionController.CreateSession Method
Creates a new tuning session object on Xml provided.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration
Assembly: SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)
Syntax
'Declaration
Sub CreateSession ( _
connectionInfo As SqlConnectionInfo, _
sessionName As String, _
sessionXml As String _
)
'Usage
Dim instance As ISessionController
Dim connectionInfo As SqlConnectionInfo
Dim sessionName As String
Dim sessionXml As String
instance.CreateSession(connectionInfo, _
sessionName, sessionXml)
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
function CreateSession(
connectionInfo : SqlConnectionInfo,
sessionName : String,
sessionXml : String
)
Parameters
- connectionInfo
Type: Microsoft.SqlServer.Management.Common.SqlConnectionInfo
A server connection info.
- sessionName
Type: System.String
A String string that represents the name of the session.
- sessionXml
Type: System.String
A session definition in Xml format.