DataConnector | ComponentOne
C1.AdoNet.GoogleAnalytics Assembly / C1.AdoNet.GoogleAnalytics Namespace / C1GoogleAnalyticsCommand Class / ExecutePrimitiveSqlAsync Method
The C1.DataConnector.SelectStatement to be executed on the GoogleAnalytics server.
The cancellation token to abort the query execution at any moment.
A boolean that indicates if all the rows from the referred tables in selectStmt need to be retrieved from the GoogleAnalytics server.

In This Topic
    ExecutePrimitiveSqlAsync Method (C1GoogleAnalyticsCommand)
    In This Topic
    Execute selectStmt directly in the GoogleAnalytics server.
    Syntax
    'Declaration
     
    Protected Overrides NotOverridable Function ExecutePrimitiveSqlAsync( _
       ByVal selectStmt As SelectStatement, _
       ByVal token As CancellationToken, _
       ByVal needFullData As Boolean _
    ) As Task(Of SourceTable)
    protected override Task<SourceTable> ExecutePrimitiveSqlAsync( 
       SelectStatement selectStmt,
       CancellationToken token,
       bool needFullData
    )

    Parameters

    selectStmt
    The C1.DataConnector.SelectStatement to be executed on the GoogleAnalytics server.
    token
    The cancellation token to abort the query execution at any moment.
    needFullData
    A boolean that indicates if all the rows from the referred tables in selectStmt need to be retrieved from the GoogleAnalytics server.

    Return Value

    A source table containing the query execution result.
    See Also