Vorheriges Thema: CreateNewServiceDefinitionVersion

Nächstes Thema: ServiceDefinition Creation Methods

CommitServiceDefinition

Description

This method commits the specified service definition for approval.

Syntax

ActionInfoCollection CommitServiceDefinition (long serviceDefinitionFolderItemID, string Justification, bool forceCommit);

Parameters

Name

Type

Description

serviceDefinitionFolderItemID

long

The ID of the service definition folder item.

Justification

string

Text describing the reasons for committing the service definition changes, and any additional comments.

forceCommit

bool

Specifies whether to force the commit.

Return Value

An ActionInfoCollection object, which is a collection of zero or more ActionInfo items with information about the failure or success of the commit process.

Each ActionInfo item consists of:

Remarks

If the value of forceCommit is set to false, the contract is not committed at all; a notification will be issued if there is a Warning. If the forceCommit argument is set to true, the contract will be committed despite any warnings