ExecutionTimeCondition Class
Represents a test condition that specifies the maximum amount of time that the test's Transact-SQL statements can take to execute before the test fails.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.TestCondition
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition
Syntax
[PartCreationPolicyAttribute(CreationPolicy.NonShared)]
public class ExecutionTimeCondition : TestCondition
[PartCreationPolicyAttribute(CreationPolicy::NonShared)]
public ref class ExecutionTimeCondition : TestCondition
[<PartCreationPolicyAttribute(CreationPolicy.NonShared)>]
type ExecutionTimeCondition =
class
inherit TestCondition
end
<PartCreationPolicyAttribute(CreationPolicy.NonShared)>
Public Class ExecutionTimeCondition
Inherits TestCondition
Constructors
Name | Description | |
---|---|---|
![]() |
ExecutionTimeCondition() | Initializes a new instance of the ExecutionTimeCondition class. |
Properties
Name | Description | |
---|---|---|
![]() |
CanRaiseEvents | (Inherited from Component.) |
![]() |
Container | (Inherited from Component.) |
![]() |
DesignMode | (Inherited from Component.) |
![]() |
Enabled | Gets or sets a value that indicates whether the test condition is enabled.(Inherited from TestCondition.) |
![]() |
Events | (Inherited from Component.) |
![]() |
ExecutionTime | Gets or sets the number of seconds within which the test can execute before timeout. The default is 30 seconds. |
![]() |
Name | Gets or sets the test condition name.(Inherited from TestCondition.) |
![]() |
Site | (Inherited from Component.) |
Methods
Name | Description | |
---|---|---|
![]() |
Assert(DbConnection, SqlExecutionResult[]) | Validates input parameters.(Overrides TestCondition.Assert(DbConnection, SqlExecutionResult[]).) |
![]() |
CreateObjRef(Type) | (Inherited from MarshalByRefObject.) |
![]() |
Dispose() | (Inherited from Component.) |
![]() |
Dispose(Boolean) | (Inherited from Component.) |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Component.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() |
GetService(Type) | (Inherited from Component.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
![]() |
ToString() | Returns a string that represents the current object.(Overrides Component.ToString().) |
Events
Name | Description | |
---|---|---|
![]() |
Disposed | (Inherited from Component.) |
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.Conditions Namespace
Return to top