Saves the CEvent object along with all of its child records to the database using the supplied DataServer object.

Namespace: Asi.iBO.Events
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public bool Save(
	DataServer server,
	bool useNewTransaction
)
Visual Basic
Public Function Save ( _
	server As DataServer, _
	useNewTransaction As Boolean _
) As Boolean
Visual C++
public:
bool Save(
	DataServer^ server, 
	bool useNewTransaction
)

Parameters

server
Type: Asi.iBO..::..DataServer
The dataserver to use to access the database.
useNewTransaction
Type: System..::..Boolean
Indicates whether or not to make a new database transaction to commit or rollback the entire event record at once. Set to false if this save is already wrapped in a larger transaction or if each individual database operation should be its own transaction.

Return Value

True if all goes well, false if an error occurs. If false, check the Errors property for details.

See Also