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

Gets all the email folders created for the currently logged in user.

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

Syntax

C#
public DataTable GetEmailFolders(
	int userId
)
Visual Basic (Declaration)
Public Function GetEmailFolders ( _
	userId As Integer _
) As DataTable
Visual C++
public:
DataTable^ GetEmailFolders(
	int userId
)

Parameters

userId
Type: System..::.Int32

Return Value

DataTable with the following columns.
  • emailFolderId (System.Int32)Id of the email folder.
  • EmailFolderTypeId (System.Int32)Type of email folder. 1 = Inbox 2 = Sent Messages 3 = Drafts 4 = Deleted 10 = User Defined
  • EmailFolderName (System.String)Name of the email folder.
  • messageCount (System.Int32)Number of email messages in a particular email folder.
  • newMessageCount (System.Int32)Number of new (unread) email messages in a particular email folder.
  • totalMessageSize (System.Int32)Total size (in KB) of all the email messages in a particular email folder.

See Also