DacServices.EnableTelemetry Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnableTelemetry(String, Version) |
Enables telemetry globally and set the application and version name to get included in telemetry events |
EnableTelemetry(String, Version, Action<DacFxTelemetryEventData>) |
Enables telemetry globally and set the application and version name to get included in telemetry events |
EnableTelemetry(String, Version, Action<DacFxTelemetryEventData>, Func<String>) |
Enables telemetry globally and set the application and version name to get included in telemetry events |
EnableTelemetry(String, Version)
Enables telemetry globally and set the application and version name to get included in telemetry events
public static void EnableTelemetry (string applicationName = default, Version applicationVersion = default);
static member EnableTelemetry : string * Version -> unit
Public Shared Sub EnableTelemetry (Optional applicationName As String = Nothing, Optional applicationVersion As Version = Nothing)
Parameters
- applicationName
- String
Application Name
- applicationVersion
- Version
Application Version
Applies to
EnableTelemetry(String, Version, Action<DacFxTelemetryEventData>)
Enables telemetry globally and set the application and version name to get included in telemetry events
public static void EnableTelemetry (string applicationName, Version applicationVersion, Action<Microsoft.Data.Tools.Schema.Common.Telemetry.DacFxTelemetryEventData> telemetryItemCallback);
static member EnableTelemetry : string * Version * Action<Microsoft.Data.Tools.Schema.Common.Telemetry.DacFxTelemetryEventData> -> unit
Public Shared Sub EnableTelemetry (applicationName As String, applicationVersion As Version, telemetryItemCallback As Action(Of DacFxTelemetryEventData))
Parameters
- applicationName
- String
Application Name
- applicationVersion
- Version
Application Version
- telemetryItemCallback
- Action<DacFxTelemetryEventData>
A callback method to allow inspection of the telemetry data
Applies to
EnableTelemetry(String, Version, Action<DacFxTelemetryEventData>, Func<String>)
Enables telemetry globally and set the application and version name to get included in telemetry events
public static void EnableTelemetry (string applicationName, Version applicationVersion, Action<Microsoft.Data.Tools.Schema.Common.Telemetry.DacFxTelemetryEventData> telemetryItemCallback, Func<string> getApplicationProperty);
static member EnableTelemetry : string * Version * Action<Microsoft.Data.Tools.Schema.Common.Telemetry.DacFxTelemetryEventData> * Func<string> -> unit
Public Shared Sub EnableTelemetry (applicationName As String, applicationVersion As Version, telemetryItemCallback As Action(Of DacFxTelemetryEventData), getApplicationProperty As Func(Of String))
Parameters
- applicationName
- String
Application Name
- applicationVersion
- Version
Application Version
- telemetryItemCallback
- Action<DacFxTelemetryEventData>
A callback method to allow inspection of the telemetry data