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)

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.TestCondition
        Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition

[PartCreationPolicyAttribute(CreationPolicy.NonShared)]
public class ExecutionTimeCondition : TestCondition

NameDescription
System_CAPS_pubmethodExecutionTimeCondition()

Initializes a new instance of the ExecutionTimeCondition class.

NameDescription
System_CAPS_protpropertyCanRaiseEvents

(Inherited from Component.)

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_protpropertyDesignMode

(Inherited from Component.)

System_CAPS_pubpropertyEnabled

Gets or sets a value that indicates whether the test condition is enabled.(Inherited from TestCondition.)

System_CAPS_protpropertyEvents

(Inherited from Component.)

System_CAPS_pubpropertyExecutionTime

Gets or sets the number of seconds within which the test can execute before timeout. The default is 30 seconds.

System_CAPS_pubpropertyName

Gets or sets the test condition name.(Inherited from TestCondition.)

System_CAPS_pubpropertySite

(Inherited from Component.)

NameDescription
System_CAPS_pubmethodAssert(DbConnection, SqlExecutionResult[])

Validates input parameters.(Overrides TestCondition.Assert(DbConnection, SqlExecutionResult[]).)

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Component.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type)

(Inherited from Component.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides Component.ToString().)

NameDescription
System_CAPS_pubeventDisposed

(Inherited from Component.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: