Platform SDK: CDO 1.2.1

Application Property (All CDONTS Library Objects)

The Application property returns the name of the active application, namely the Microsoft® CDO for NTS Library. Read-only.

Syntax

object.Application 
  

Data Type

String

Remarks

The Application property always contains the string "Collaboration Data Objects for NTS version 1.2.1".

The version number of the CDO for NTS Library is available through the Session object's Version property.

Example

' Function: Session_Application 
' Purpose: Display the Application property of the Session object 
' See documentation topic: Application property 
Function Session_Application() 
Dim objSession As Object ' or Dim objSession As CDONTS.Session 
' error handling ... 
Set objSession = CreateObject("CDONTS.Session") 
If Not objSession Is Nothing Then 
   objSession.LogonSMTP("My Name", "myaddress@microsoft.com") 
   MsgBox "Session's Application property = " & objSession.Application 
End If 
' error handling 
End Function