// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.SqlTools.ServiceLayer.Profiler { /// /// Main class for Profiler Service functionality /// public interface IXEventSession { /// /// Gets unique XEvent session Id /// int Id { get; } /// /// Starts XEvent session /// void Start(); /// /// Stops XEvent session /// void Stop(); /// /// Reads XEvent XML from the default session target /// string GetTargetXml(); } }