Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.Data.Schema.UnitTesting.Conditions.TestCondition
Microsoft.Data.Schema.UnitTesting.Conditions.ExecutionTimeCondition
Namespace: Microsoft.Data.Schema.UnitTesting.Conditions
Assembly: Microsoft.Data.Schema.UnitTesting (in Microsoft.Data.Schema.UnitTesting.dll)
Syntax
'Declaration
<DatabaseSchemaProviderCompatibilityAttribute(Nothing)> _
<DatabaseSchemaProviderCompatibilityAttribute(GetType(DatabaseSchemaProvider))> _
Public NotInheritable Class ExecutionTimeCondition _
Inherits TestCondition
[DatabaseSchemaProviderCompatibilityAttribute(null)]
[DatabaseSchemaProviderCompatibilityAttribute(typeof(DatabaseSchemaProvider))]
public sealed class ExecutionTimeCondition : TestCondition
[DatabaseSchemaProviderCompatibilityAttribute(nullptr)]
[DatabaseSchemaProviderCompatibilityAttribute(typeof(DatabaseSchemaProvider))]
public ref class ExecutionTimeCondition sealed : public TestCondition
[<Sealed>]
[<DatabaseSchemaProviderCompatibilityAttribute(null)>]
[<DatabaseSchemaProviderCompatibilityAttribute(typeof(DatabaseSchemaProvider))>]
type ExecutionTimeCondition =
class
inherit TestCondition
end
public final class ExecutionTimeCondition extends TestCondition
The ExecutionTimeCondition type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
ExecutionTimeCondition | Initializes a new instance of the ExecutionTimeCondition class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) |
![]() |
Container | Gets the IContainer that contains the Component. (Inherited from Component.) |
![]() |
DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) |
![]() |
Enabled | Gets or sets a value that indicates whether the test condition is enabled. (Inherited from TestCondition.) |
![]() |
Events | Gets the list of event handlers that are attached to this Component. (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 | Gets or sets the ISite of the Component. (Inherited from Component.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Assert | Validates input parameters. (Overrides TestCondition.Assert(DbConnection, array<ExecutionResult[]).) |
![]() |
CreateObjRef | Security Critical. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() |
Dispose() | Releases all resources used by the Component. (Inherited from Component.) |
![]() |
Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.) |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetLifetimeService | Security Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
InitializeLifetimeService | Security Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() |
ToString | Returns a string that represents the current object. (Overrides Component.ToString().) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) |
Top
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.
.gif)
.gif)
.gif)
.gif)
.gif)