将 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
)
public SqlCeResultSet ExecuteResultSet (
ResultSetOptions options,
SqlCeResultSet resultSet
)
public function ExecuteResultSet (
options : ResultSetOptions,
resultSet : SqlCeResultSet
) : SqlCeResultSet
不适用。
参数
- options
在生成 ResultSet 时使用的 ResultSetOptions。
- resultSet
要生成的 ResultSet。
平台
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
Windows Vista、Microsoft Windows XP SP2 和 Windows Server 2003 SP1 支持 Microsoft .NET Framework 3.0。
版本信息
.NET Framework
受以下版本支持:3.0
.NET Compact Framework
受以下版本支持:2.0