ExecuteSql 类

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc..::..ExecuteSql

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
<ComVisibleAttribute(False)> _
Public Class ExecuteSql
用法
Dim instance As ExecuteSql
[ComVisibleAttribute(false)]
public class ExecuteSql
[ComVisibleAttribute(false)]
public ref class ExecuteSql
[<ComVisibleAttribute(false)>]
type ExecuteSql =  class end
public class ExecuteSql

ExecuteSql 类型公开以下成员。

构造函数

  名称 说明
公共方法 ExecuteSql 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 ExecuteImmediate(String) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法静态成员 ExecuteImmediate(String, Object) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法静态成员 ExecuteImmediateGetMessage Executes the sql for the given connection without returning results but capturing the messages. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 ExecuteWithResults(String) Executes a query and returns a DataTable with the specified results. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法静态成员 ExecuteWithResults(StringCollection, Object) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法静态成员 ExecuteWithResults(String, Object) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法静态成员 ExecuteWithResults(StringCollection, Object, StatementBuilder) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
受保护方法 Finalize (从 Object 继承。)
公共方法 GetDatabaseEngineType() () () () 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法静态成员 GetDatabaseEngineType(Object) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetDataReader(String) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets a data reader to execute the specified Transact-SQL batch.
公共方法 GetDataReader(String, SqlCommand%) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets a data reader to execute the specified Transact-SQL statements, and specifying a SqlCommand object that can be used to terminate a long-running query.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetServerVersion() () () () 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法静态成员 GetServerVersion(Object) Retrieves the server version for the server with the given connection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。