OnlineVariables.DeleteOnlineVariables



DeleteOnlineVariables(Name As String) As Boolean

Parameters

Name As String
Unique name of the online variable. This name can be transferred to the method Item of the collection as a parameter to get the object from the collection.
ED
not used
RT
avaliable

Remarks

This method deletes the object Online-Variable Objekt with the index or key strName from the collection. On deleting the object the variable is logged off the Runtime system and deleted from the collection.

Sample:


'delete all OnlineVariables
Sub DeleteOLVs()
Dim i As Integer
Dim obOLV As OnlineVariable
Dim strOLVName As String
	'enum all OnlineVarialbes and delete it...
	For i = 0 To thisProject.OnlineVariables.Count - 1
		Set obOLV = thisProject.OnlineVariables.Item(i)
		strOLVName = obOLV.Name
		Set obOLV = Nothing
		thisProject.OnlineVariables.DeleteOnlineVariables (strOLVName)
	Next i
End Sub

See Also

OnlineVariables