Microsoft DirectX 8.1 (C++)

ICAPolicy.OkToPersist

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The OkToPersist property determines whether the Conditional Access (CA) Manager should store this policy.

Syntax

objCAPolicy.OkToPersist As Long

Parameters

This property does not take any parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns a Boolean value of type Long. If the value is TRUE, the policy can be stored. If the value is FALSE, the policy cannot be stored.

Remarks

A policy can be either dynamic or persistent. Typically, software policies are persistent, and DirectShow filter policies are dynamic. A persistent policy returns the value TRUE, while a dynamic policy returns FALSE.

This property is read-only.

See Also