[This is preliminary documentation and is subject to change.]

Inserts all the details related to the a particular email account into the database.

Namespace:  OfficeClip.DBLayer.Desktop
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int InsertEmailAccount(
	EmailAccountInfo eai
)
Visual Basic (Declaration)
Public Function InsertEmailAccount ( _
	eai As EmailAccountInfo _
) As Integer
Visual C++
public:
int InsertEmailAccount(
	EmailAccountInfo^ eai
)

Parameters

eai
Type: OfficeClip.BusinessLayer.Desktop.Email..::.EmailAccountInfo
Instance of the EmailAccountInfo object containing all the details to a particular email account. OfficeClip.BusinessLayer.Desktop.Email..::.EmailAccountInfo

Return Value

Id of the newly created email account if successful, -1 in case of an error.

See Also