Vorheriges Thema: ServiceDefinition Versioning Methods

Nächstes Thema: CommitServiceDefinition

CreateNewServiceDefinitionVersion

Description

This method creates a new version of the specified service definition.

Syntax

long CreateNewServiceDefinitionVersion (ServiceDefinitionData serviceDefinitionData, long serviceDefinitionFolderItemID);

Parameters

Name

Type

Description

serviceDefinitionData

ServiceDefinitionData

The data to use to create the new version.

ServiceDefinitionFolderItemID

long

The ID of the service definition folder item.

Return Value

The ID of the new service definition version, as type long.

Remarks

The method validates the data sent to it and may throw a validation exception upon failure.

The data provided in the ServiceDefinitionData object replaces the data of the existing contract template version, and cannot be left unfilled or partially filled. An ID for every sub-entity of which the data structure consists must be provided (for example, the contract’s corresponding service components).