Gets or sets the number of threads that a package can create.
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
'Declaration Public Property MaxConcurrentExecutables As Integer Get Set 'Usage Dim instance As Package Dim value As Integer value = instance.MaxConcurrentExecutables instance.MaxConcurrentExecutables = value
Property ValueType: Int32
The number of threads that a package can create.
Valid values are one and higher, or -1. Other values are invalid. A value of -1 allows the maximum number of concurrently running executables to equal the number of processors plus two. Setting this property to zero or any other negative value fails with an error code that indicates an invalid argument.
This property is used when parallelism exists in the workflow. If the workflow is a series of sequential precedence constraints, then this property has no effect.