DataConnector | ComponentOne
C1.AdoNet.GoogleAnalytics Assembly / C1.DataConnector.AdoNet Namespace / C1CommandBase<TCommandImpl> Class / ExecuteScalar Method

In This Topic
    ExecuteScalar Method (C1CommandBase<TCommandImpl>)
    In This Topic
    Executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.
    Syntax
    'Declaration
     
    Public Overridable Function ExecuteScalar() As Object
    public virtual object ExecuteScalar()

    Return Value

    The scalar result.
    See Also