ICameraManagerUnprotectRecordings Method |  |
Unprotects the specified time-range of the recordings of a given camera.
Namespace: Bosch.Vms.SDKAssembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntaxbool UnprotectRecordings(
Camera camera,
DateTime from,
DateTime to
)
Parameters
- camera Camera
- The camera the recordings belong to.
- from DateTime
- Start of the time-range to unprotect. Converts the value of the current DateTime object to UTC if required.
The DateTime value is determined by the Kind property of the current DateTime object. If the Kind property is set to Undefined
then the current DateTime object is assumed to be a local time, and the conversion is performed as if Kind were Local.
- to DateTime
- End of the time-range to unprotect. Converts the value of the current DateTime object to UTC if required.
The DateTime value is determined by the Kind property of the current DateTime object. If the Kind property is set to Undefined
then the current DateTime object is assumed to be a local time, and the conversion is performed as if Kind were Local.
Return Value
Booleantrue if the operation has been finished successfully; otherwise, false.
Exceptions| Exception | Condition |
|---|
| SdkException | Throws an SdkException if parameter camera is null or absent in the configuration or not permitted to caller. |
| UnauthorizedAccessSdkException |
Thrown if operation is not permitted to caller.
|
Remarks
The current implementation of this method supports only the unprotecting of recordings managed by a VRM.
For recordings made by other recorder types the method returns false.
See Also