Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有时用户在应用程序 (vc++ OLE DB) 中对 SQL Server 运行长时间查询。如何在执行期间在客户端取消此查询?
ICommand 接口有一个Cancel 方法,专门用于取消查询。如果您使用的是 ADO,那么前面提到的方法仍然可以通过Cancel使用。