SqlExecutionResult.ExecutionTime 属性

 

获取测试执行 Transact-SQL 测试脚本以及从服务器检索结果所花费的时间量。

命名空间:   Microsoft.Data.Tools.Schema.Sql.UnitTesting
程序集:  Microsoft.Data.Tools.Schema.Sql.UnitTesting(Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 中)

语法

public TimeSpan ExecutionTime { get; set; }
public:
property TimeSpan ExecutionTime {
    TimeSpan get();
    void set(TimeSpan value);
}
member ExecutionTime : TimeSpan with get, set
Public Property ExecutionTime As TimeSpan

属性值

Type: System.TimeSpan

返回 TimeSpan

请参阅

SqlExecutionResult 类
Microsoft.Data.Tools.Schema.Sql.UnitTesting 命名空间

返回页首