SqlExecutionResult.ExecutionTime Property

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

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

Syntax

'Declaration
Public Property ExecutionTime As TimeSpan 
    Get 
    Set
'Usage
Dim instance As SqlExecutionResult 
Dim value As TimeSpan 

value = instance.ExecutionTime

instance.ExecutionTime = value
public TimeSpan ExecutionTime { get; set; }
public:
property TimeSpan ExecutionTime {
    TimeSpan get ();
    void set (TimeSpan value);
}
member ExecutionTime : TimeSpan with get, set
function get ExecutionTime () : TimeSpan 
function set ExecutionTime (value : TimeSpan)

Property Value

Type: System.TimeSpan
Returns a TimeSpan.

See Also

Reference

SqlExecutionResult Class

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