AdomdCommand.ExecuteScalar 메서드
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.