ApplicationInsightsApplicationIdProvider.TryGetApplicationId 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET