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.