Share via


ExecutionResult.ExecutionTime プロパティ

テストが Transact-SQL テスト スクリプトの実行に要した時間を取得し、サーバーから結果を取得します。

名前空間:  Microsoft.Data.Schema.UnitTesting
アセンブリ:  Microsoft.Data.Schema.UnitTesting (Microsoft.Data.Schema.UnitTesting.dll 内)

構文

'宣言
Public Property ExecutionTime As TimeSpan
    Get
    Set
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)

プロパティ値

型: System.TimeSpan
TimeSpan を返します。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ExecutionResult クラス

Microsoft.Data.Schema.UnitTesting 名前空間