This constructor is used to instantiate existing Events from the database.

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

Syntax

C#
public CEvent(
	IiMISUser user,
	string eventCode
)
Visual Basic (Declaration)
Public Sub New ( _
	user As IiMISUser, _
	eventCode As String _
)
Visual C++
public:
CEvent(
	IiMISUser^ user, 
	String^ eventCode
)

Parameters

user
Type: Asi.iBO..::.IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
eventCode
Type: System..::.String
The code of the event desired.

Exceptions

ExceptionCondition
Asi.iBO..::.NotLicensedException Thrown if there is no license for events.
Asi.iBO..::.ObjectNotFoundException Thrown if no event is found with the specified eventCode.

See Also