BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
Bosch.Vms.SDK
ICameraManager Interface
ICameraManager Methods
ExportAsf Method
ExportMov Method
ExportMp4 Method
ExportNative Method
ExportRecordings Method
FindRecordingById Method
FindRecordings Method
GetCameraById Method
GetCameraByLogicalNumber Method
GetCameraByName Method
GetCameraInfoList Method
GetComment Method
GetLogicalNumber Method
GetRecordingMode Method
GetVideoInputNumber Method
IsAttachedToLogicalTree Method
IsBypassed Method
IsGlobalChange Method
IsSignalKnown Method
IsSignalPresent Method
IsSignalTooBlurry Method
IsSignalTooBright Method
IsSignalTooDark Method
IsSignalTooNoisy Method
ProtectRecordings Method
SendData Method
StartAlarmRecording Method
StartManualRecording Method
StartRecording Method
StartRecordingInAlarmMode Method
StartRecordingInManualMode Method
StopAlarmRecording Method
StopManualRecording Method
StopRecording Method
UnprotectRecordings Method

# ICameraManagerUnprotectRecordings Method |

Unprotects the specified time-range of the recordings of a given camera.
Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
Copy

    bool 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

Boolean
true 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

#### Reference

ICameraManager Interface
Bosch.Vms.SDK Namespace
ProtectRecordings(Camera, DateTime, DateTime)

Copyright © Bosch Sicherheitssysteme GmbH