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 | |
---|---|---|
SqlExecutionResult() | Initializes a new instance of the SqlExecutionResult class. |
Properties
Name | Description | |
---|---|---|
DataSet | Gets the data returned by the test. |
|
ExecutionTime | Gets the amount of time that the test takes to execute the Transact-SQL test script and retrieve the results from the server. |
|
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 | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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