共用方式為


ExecuteScalar 方法

命名空間:  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

實作

IDbCommand. . :: . .ExecuteScalar() () () ()