Export (0) Print
Expand All

SqlExecutionResult Class

Contains the results of a database unit test that were generated by calling 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)

public class SqlExecutionResult

The SqlExecutionResult type exposes the following members.

Public methodSqlExecutionResultInitializes a new instance of the SqlExecutionResult class.

Public propertyDataSetGets the data returned by the test.
Public propertyExecutionTimeGets the amount of time that the test takes to execute the Transact-SQL test script and retrieve the results from the server.
Public propertyRowsAffectedGets an array of integers that indicates the number of rows affected by each statement in the test that affects the database.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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.


This is a sealed class.

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