共用方式為


EventsExtensions.GetOdataMetadataAsync Method

Definition

Get OData metadata

public static System.Threading.Tasks.Task<object> GetOdataMetadataAsync (this Microsoft.Azure.ApplicationInsights.Query.IEvents operations, string appId, System.Threading.CancellationToken cancellationToken = default);
static member GetOdataMetadataAsync : Microsoft.Azure.ApplicationInsights.Query.IEvents * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<obj>
<Extension()>
Public Function GetOdataMetadataAsync (operations As IEvents, appId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Object)

Parameters

operations
IEvents

The operations group for this extension method.

appId
String

ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets OData EDMX metadata describing the event data model

Applies to