Revert "Revert "Update to XElite (#1287)" (#1334)" (#1337)

This reverts commit 0d7a3b4168.
This commit is contained in:
Alex Ma
2021-12-17 12:33:57 -08:00
committed by GitHub
parent a6a4e6df9a
commit 196364e81e
15 changed files with 245 additions and 328 deletions

View File

@@ -2,6 +2,8 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.SqlTools.ServiceLayer.Connection.Contracts;
using Microsoft.SqlServer.Management.XEvent;
namespace Microsoft.SqlTools.ServiceLayer.Profiler
{
@@ -15,6 +17,16 @@ namespace Microsoft.SqlTools.ServiceLayer.Profiler
/// </summary>
int Id { get; }
/// <summary>
/// Connection details associated with the session id.
/// </summary>
ConnectionDetails ConnectionDetails { get; set; }
/// <summary>
/// Session associated with the session id.
/// </summary>
Session Session { get; set; }
/// <summary>
/// Starts XEvent session
/// </summary>