Description: | Returns the ID of the folder which contains this folder as one of its sub folders. |
Syntax: | object.GetParentFolderID |
Parameters: | |
object | Required, the Message object |
Remarks: | This method returns the ID of this folder's parent folder. |
Returns: | A numeric value representing the ID of the parent folder. |
Example: |
Set session = CreateObject("OfficeTalk.Session")
Set user = session.Logon(login name, password)
Set folder = session.GetMeetingFolders.GetFirst
ID = folder.Value("ID")
set subfolder = folder.GetSubFolders.GetFirst
parentID = subfolder.GetParentFolderID
' **Note: parentID will be the same as ID