שתף באמצעות


ApplicationInsightsApplicationIdProvider.TryGetApplicationId Method

Definition

Retrieves the Application Id corresponding to a given Instrumentation Key.

public bool TryGetApplicationId (string instrumentationKey, out string applicationId);
abstract member TryGetApplicationId : string * string -> bool
override this.TryGetApplicationId : string * string -> bool
Public Function TryGetApplicationId (instrumentationKey As String, ByRef applicationId As String) As Boolean

Parameters

instrumentationKey
String

Instrumentation Key string.

applicationId
String

Application Id corresponding to the provided Instrumentation Key. Returns NULL if a match was not found.

Returns

TRUE if Application Id was successfully retrieved, FALSE otherwise.

Implements

Applies to