Executes the statement and returns the first object of the first column.
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv(在 msmgdsrv.dll 中)
语法
声明
Public Function ExecuteScalar As Object
用法
Dim instance As AdomdCommand
Dim returnValue As Object
returnValue = instance.ExecuteScalar()
public Object ExecuteScalar()
public:
virtual Object^ ExecuteScalar() sealed
abstract ExecuteScalar : unit -> Object
override ExecuteScalar : unit -> Object
public final function ExecuteScalar() : Object
返回值
类型:System.Object
The first object of the first column or nullnull 引用(在 Visual Basic 中为 Nothing) if no columns are found.