CollectionTransactionsHelperOMSave(IEnumerableIOMSnapshot, IPhoneSystem, String) Method

Apply all updates of the specified snapshots as one transaction. Allows to store set of heterogeneous objects in one transaction.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public static IOMTransactionResult OMSave(
	this IEnumerable<IOMSnapshot> objs,
	IPhoneSystem phoneSystem,
	string transactionName = null
)

Parameters

objs  IEnumerableIOMSnapshot
snapshots which are requiring update
phoneSystem  IPhoneSystem
OM connection
transactionName  String  (Optional)
Name of the trnsaciton for the result

Return Value

IOMTransactionResult

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableIOMSnapshot. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also