DataConnector | ComponentOne
C1.AdoNet.Salesforce Assembly / C1.AdoNet.Salesforce Namespace / C1SalesforceCommand Class / ExecuteScalar Method

In This Topic
    ExecuteScalar Method (C1SalesforceCommand)
    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 Function ExecuteScalar() As Object
    public object ExecuteScalar()

    Return Value

    The scalar result.
    See Also