WMRMRights.DisableOnClockRollback
Previous | Next |
WMRMRights.DisableOnClockRollback
The DisableOnClockRollback property specifies and retrieves a Boolean value that indicates whether a license must be disabled if the clock is set to an earlier time.
Syntax
WMRMRights. DisableOnClockRollback = Boolean Boolean = WMRMRights. DisableOnClockRollback
Parameters
This property takes no parameters.
Return Values
If the property succeeds, it returns a Boolean value indicating whether license should be disabled. If it fails, it returns E_FAIL, 0x80004005.
Remarks
The DisableOnClockRollback property is mutually exclusive with the WMRMRights.DeleteOnClockRollback property. If you set this property after setting DeleteOnClockRollback, the rights are set to be disabled instead of deleted when the clock is set to an earlier time. By default, this property is set to 0 and no action is taken when the clock is set to an earlier time.
This property works only if you have set an expiration date first.
Example Code
Requirements
Version: Windows Media Rights Manager 7 SDK or later
Reference: wmrmobjs 1.0 Type Library
Library: wmrmobjs.dll
Platform: Windows Server 2003
See Also
Previous | Next |