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

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

Syntax

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

Parameters

server
Type: Asi.iBO..::.DataServer
The existing DataServer to use to do the save. A new database transaction is created to commit or rollback the entire event record at once.

Return Value

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

See Also