TheThingRegistry..::..DeleteThingByProperty Method
Deletes the first TheThing found with the given Property Name and Value. I.e: DeleteThingByProperty("MyEngine",Guid.empty,"DeviceType","MyThingType"); will delete the first things of the MyEngine with the DeviceType "MyThingType"
Namespace:
nsCDEngine.Engines.ThingServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
Parameters
- pEngineName
- Type: String
Engine that owns TheThing to be deleted
- pUID
- Type: Guid
UID of the user requesting the Deletion - if TheThing has a Acces Level, the user has to have the same access level in order to be allowed to delete TheThing
- pPropName
- Type: String
Name of the Property
- pPropValue
- Type: String
Value of the Property