Repository.Model.DeleteModel

Syntax
DeleteModel( ID )

Parameters
 * ID: The ID to delete.

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") Dim ListOfModels As NameIdPair ListOfModels = MyRepository.Model.GetAllModelsInfo Dim AModel as cModel AModel = MyRepository.Model.GetModel(20) Dim SucessDeleteModel As Boolean SucessDeleteModel = MyRepository.Model.DeleteModel(20) MyRepository.DisconnectFromRepository