ExecuteSql Class

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Class ExecuteSql
'Usage
Dim instance As ExecuteSql
[ComVisibleAttribute(false)]
public class ExecuteSql
[ComVisibleAttribute(false)]
public ref class ExecuteSql
[<ComVisibleAttribute(false)>]
type ExecuteSql =  class end
public class ExecuteSql

The ExecuteSql type exposes the following members.

Constructors

  Name Description
Public method ExecuteSql Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method ExecuteImmediate(String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodStatic member ExecuteImmediate(String, Object) Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodStatic member ExecuteImmediateGetMessage Executes the sql for the given connection without returning results but capturing the messages. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method ExecuteWithResults(String) Executes a query and returns a DataTable with the specified results. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodStatic member ExecuteWithResults(StringCollection, Object) Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodStatic member ExecuteWithResults(String, Object) Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodStatic member ExecuteWithResults(StringCollection, Object, StatementBuilder) Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method Finalize (Inherited from Object.)
Public method GetDatabaseEngineType() Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodStatic member GetDatabaseEngineType(Object) Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetDataReader(String) Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a data reader to execute the specified Transact-SQL batch.
Public method GetDataReader(String, SqlCommand%) Do not reference this member directly in your code. It supports the SQL Server infrastructure. 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.
Public method GetHashCode (Inherited from Object.)
Public method GetServerVersion() Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodStatic member GetServerVersion(Object) Retrieves the server version for the server with the given connection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.