ExecuteResultSet Method (ResultSetOptions, SqlCeResultSet)
Sends the CommandText to the Connection and builds a SqlCeResultSet by using the ResultSetOptions.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Function ExecuteResultSet ( _
options As ResultSetOptions, _
resultSet As SqlCeResultSet _
) As SqlCeResultSet
'Usage
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
Parameters
- options
Type: System.Data.SqlServerCe. . :: . .ResultSetOptions
The ResultSetOptions to use when building the ResultSet.
- resultSet
Type: System.Data.SqlServerCe. . :: . .SqlCeResultSet
The ResultSet to build.
Return Value
Type: System.Data.SqlServerCe. . :: . .SqlCeResultSet