单项选择题

SqlCommand对象中对连接执行SQL中聚合函数返回首行首列的方法是()

A.ExecuteReader方法
B.ExecuteScalar方法
C.ExecuteNonquery方法
D.ToString方法