BusinessLogicCommand.ExecuteScalar 메서드

Executes the query and returns the first column of the first row in the result set returned by the query.

네임스페이스:  Microsoft.SqlServer.Replication.BusinessLogicSupport
어셈블리:  Microsoft.SqlServer.Replication.BusinessLogicSupport(Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

구문

‘선언
Public Function ExecuteScalar As Object
‘사용 방법
Dim instance As BusinessLogicCommand 
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 column of the first row in the result set.

구현

IDbCommand.ExecuteScalar()

참고 항목

참조

BusinessLogicCommand 클래스

Microsoft.SqlServer.Replication.BusinessLogicSupport 네임스페이스