SqlExecutionResult Class

 

Contains the results of a database unit test that were generated by calling M:Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestService.Execute(Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.ConnectionContext,System.String,System.Data.Common.DbParameter[]).

Namespace:   Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlExecutionResult

Syntax

public class SqlExecutionResult
public ref class SqlExecutionResult 
type SqlExecutionResult = class end
Public Class SqlExecutionResult

Constructors

Name Description
System_CAPS_pubmethod SqlExecutionResult()

Initializes a new instance of the SqlExecutionResult class.

Properties

Name Description
System_CAPS_pubproperty DataSet

Gets the data returned by the test.

System_CAPS_pubproperty ExecutionTime

Gets the amount of time that the test takes to execute the Transact-SQL test script and retrieve the results from the server.

System_CAPS_pubproperty RowsAffected

Gets an array of integers that indicates the number of rows affected by each statement in the test that affects the database.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This class represents the results of executing a single Transact-SQL batch statement. The ExecutionResult class includes the results sets from the execution and the time it took to execute the batch statement.

Note

This is a sealed class.

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.

See Also

Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace

Return to top