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.