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[]).

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

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.

  NameDescription
Public methodSqlExecutionResultInitializes a new instance of the SqlExecutionResult class.
Top

  NameDescription
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.
Top

  NameDescription
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.)
Top

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.

NoteNote

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.
Show:
© 2014 Microsoft