Instantiating Collaboration Data Objects
To create an instance of a Collaboration Data Object, use the Server.CreateObject method. Its syntax is as follows:
Set objMyObject = Server.CreateObject(strProgId)where:
objMyObjectrepresents the name of the collaboration data object variable you are instantiating.strProgIdrepresents the programmatic ID (ProgID) for the specific Collaboration Data Object you are instantiating. The possible values for this parameter can be found in Table 15.1.
Table 15.1. Values for Collaboration Data Objects
|
Collaboration Data Object |
ProgID |
|---|---|
|
AddressEntry |
|
|
Attachment |
|
|
Folder |
|
|
Message |
|
|
NewMail |
|
|
Recipient |
|
|
Session |
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access