com.onlineobject.objectnet Namespace

NetworkEventsDatabase..::..GetEventCode Method

Retrieves the code of an event by its name.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public int GetEventCode(

	string name

)

Parameters

name
Type: String
The name of the event.

Return Value

The code of the event if found, 0 otherwise.