ITrkSession.CloseAllSession (method)

method CloseAllSession
Syntax: object.CloseAllSession
Description:
The CloseAllSession method will close all open sessions.

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", ""
oTrkSession.CloseAllSession