ITrkSession.SessionID (read-only property)

property SessionID
Syntax: BSTR*pSessionID = object.SessionID
Description:
The SessionID property returns the unique name of the session.

Example:

Dim oTrkItemAgent As Object
Dim oTrkSession As Object
Dim oTrkItems As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
Set oTrkSession = CreateObject("Tracker.TrkSession")
oTrkSession.AddProject ProjectName, "ADMINISTRATOR", ""
oTrkItemAgent.SessionId = oTrkSession.SessionId
oTrkItemAgent.Execute oTrkItems