次の方法で共有


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 名前空間

トップに戻る