MaintenancePlanSubPlan.AddConstraintBetweenTasks Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddConstraintBetweenTasks(Executable, DTSExecResult, Executable) | |
AddConstraintBetweenTasks(DatabaseMaintenanceBaseTask, DTSExecResult, DatabaseMaintenanceBaseTask) |
AddConstraintBetweenTasks(Executable, DTSExecResult, Executable)
public:
Microsoft::SqlServer::Dts::Runtime::PrecedenceConstraint ^ AddConstraintBetweenTasks(Microsoft::SqlServer::Dts::Runtime::Executable ^ taskFrom, Microsoft::SqlServer::Dts::Runtime::DTSExecResult taskFromRequiredResult, Microsoft::SqlServer::Dts::Runtime::Executable ^ taskTo);
public Microsoft.SqlServer.Dts.Runtime.PrecedenceConstraint AddConstraintBetweenTasks (Microsoft.SqlServer.Dts.Runtime.Executable taskFrom, Microsoft.SqlServer.Dts.Runtime.DTSExecResult taskFromRequiredResult, Microsoft.SqlServer.Dts.Runtime.Executable taskTo);
member this.AddConstraintBetweenTasks : Microsoft.SqlServer.Dts.Runtime.Executable * Microsoft.SqlServer.Dts.Runtime.DTSExecResult * Microsoft.SqlServer.Dts.Runtime.Executable -> Microsoft.SqlServer.Dts.Runtime.PrecedenceConstraint
Public Function AddConstraintBetweenTasks (taskFrom As Executable, taskFromRequiredResult As DTSExecResult, taskTo As Executable) As PrecedenceConstraint
Parameters
- taskFrom
- Executable
- taskFromRequiredResult
- DTSExecResult
- taskTo
- Executable
Returns
Applies to
AddConstraintBetweenTasks(DatabaseMaintenanceBaseTask, DTSExecResult, DatabaseMaintenanceBaseTask)
public:
Microsoft::SqlServer::Dts::Runtime::PrecedenceConstraint ^ AddConstraintBetweenTasks(Microsoft::SqlServer::Management::DatabaseMaintenance::DatabaseMaintenanceBaseTask ^ taskFrom, Microsoft::SqlServer::Dts::Runtime::DTSExecResult taskFromRequiredResult, Microsoft::SqlServer::Management::DatabaseMaintenance::DatabaseMaintenanceBaseTask ^ taskTo);
public Microsoft.SqlServer.Dts.Runtime.PrecedenceConstraint AddConstraintBetweenTasks (Microsoft.SqlServer.Management.DatabaseMaintenance.DatabaseMaintenanceBaseTask taskFrom, Microsoft.SqlServer.Dts.Runtime.DTSExecResult taskFromRequiredResult, Microsoft.SqlServer.Management.DatabaseMaintenance.DatabaseMaintenanceBaseTask taskTo);
member this.AddConstraintBetweenTasks : Microsoft.SqlServer.Management.DatabaseMaintenance.DatabaseMaintenanceBaseTask * Microsoft.SqlServer.Dts.Runtime.DTSExecResult * Microsoft.SqlServer.Management.DatabaseMaintenance.DatabaseMaintenanceBaseTask -> Microsoft.SqlServer.Dts.Runtime.PrecedenceConstraint
Public Function AddConstraintBetweenTasks (taskFrom As DatabaseMaintenanceBaseTask, taskFromRequiredResult As DTSExecResult, taskTo As DatabaseMaintenanceBaseTask) As PrecedenceConstraint
Parameters
- taskFrom
- DatabaseMaintenanceBaseTask
- taskFromRequiredResult
- DTSExecResult
- taskTo
- DatabaseMaintenanceBaseTask