Copy(Int32,OperStepCopySource[],String,String,Nullable<Int32>) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The Copy() method adds one or more new operation step to the Oper_Step table by copying existing operation steps.
For this overload of the method, the process, operations, and steps to copy are passed by a stepList parameter that is populated by the OperStepCopySource() method.
'Declaration
Public Overloads Shared Sub Copy( _
ByVal sessionId As Integer, _
ByVal stepList() As OperStepCopySource, _
ByVal targetProcessId As String, _
ByVal targetOperId As String, _
ByVal targetStepNo As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim stepList() As OperStepCopySource
Dim targetProcessId As String
Dim targetOperId As String
Dim targetStepNo As Nullable(Of Integer)
OperStep.Copy(sessionId, stepList, targetProcessId, targetOperId, targetStepNo)
public static void Copy(
int sessionId,
OperStepCopySource[] stepList,
string targetProcessId,
string targetOperId,
Nullable<int> targetStepNo
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- stepList
- Required. Holds a list process IDs, operation IDS, and step numnbers populated by the OperStepCopySource() method, for identifying the list of source steps to copy.
- targetProcessId
- Required. Holds the ID of the process to which the operation belongs, for identifying the target step.
- targetOperId
- Required. Holds the ID of the operation to which the target step belongs.
- targetStepNo
- Optional. Holds the step number of the target step.