共用方式為


SqlCeCommand.ExecuteResultSet 方法 (ResultSetOptions, SqlCeResultSet)

CommandText 傳送到 Connection,並藉由使用 ResultSetOptions 建立 SqlCeResultSet

命名空間:  System.Data.SqlServerCe
組件:  System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)

語法

'宣告
Public Function ExecuteResultSet ( _
    options As ResultSetOptions, _
    resultSet As SqlCeResultSet _
) As SqlCeResultSet
'用途
Dim instance As SqlCeCommand
Dim options As ResultSetOptions
Dim resultSet As SqlCeResultSet
Dim returnValue As SqlCeResultSet

returnValue = instance.ExecuteResultSet(options, _
    resultSet)
public SqlCeResultSet ExecuteResultSet(
    ResultSetOptions options,
    SqlCeResultSet resultSet
)
public:
SqlCeResultSet^ ExecuteResultSet(
    ResultSetOptions options, 
    SqlCeResultSet^ resultSet
)
member ExecuteResultSet : 
        options:ResultSetOptions * 
        resultSet:SqlCeResultSet -> SqlCeResultSet 
public function ExecuteResultSet(
    options : ResultSetOptions, 
    resultSet : SqlCeResultSet
) : SqlCeResultSet

參數

傳回值

型別:System.Data.SqlServerCe.SqlCeResultSet

請參閱

參考

SqlCeCommand 類別

ExecuteResultSet 多載

System.Data.SqlServerCe 命名空間