Click or drag to resize

ConfigurationChangeControllerGetChangeSetLockingConfigObject Method (Guid, Int32, NullableConfigurationObjectType)

Returns the id of the change set which has a "lock" on a configuration object. Returns 0 if no change set has a lock. If more than one change set has a lock the method returns the id of one of them. The method is used to prevent that a configuration object is modified at the same time on different change sets. Change sets are only considered if they are open. Configuration objects are not locked by changes which doesn't belong to a change set.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public int GetChangeSetLockingConfigObject(
	Guid configObjectUId,
	int ignoreChangeSetId,
	Nullable<ConfigurationObjectType> objectType = null
)

Parameters

configObjectUId
Type: SystemGuid
UId of the configuration object which we want to find out whether is locked.
ignoreChangeSetId
Type: SystemInt32
Id of a change set to be ignored. Is used to specify the id of the change set which is active for the active user. Can be 0.
objectType (Optional)
Type: SystemNullableConfigurationObjectType
If the configObjectUId is for an object type that has a combined key then it must be stated here in order to get a precise result. See ConfigurationChange.ObjectTypeHasGuidKey concerning which object types that is.

Return Value

Type: Int32
See Also