UpdateRevisionDefinitionAndNumbers Method
Updates the revision number and switches to a new revision definition for a set of items.
Required Permissions
ItemBumpRevisionSyntax
public Item[] UpdateRevisionDefinitionAndNumbers(
System.long[] itemIds,
System.long[] revDefIds,
System.string[] revNumbers,
System.string comment
)Public Function UpdateRevisionDefinitionAndNumbers( _
ByVal itemIds() As System.Long, _
ByVal revDefIds() As System.Long, _
ByVal revNumbers() As System.String, _
ByVal comment As System.String _
) As Item()Parameters
| Name | Description |
|---|---|
| itemIds | An array of item IDs. |
| revDefIds | The new revision definitions. Array must be the same size as 'itemIds'. |
| revNumbers | The new revision numbers. Array must be the same size as 'itemIds'. |
| comment | A comment for the new item version. |
Return Value
The updated items.
Remarks
The items should not be in an editable state. This function commits the item changes.