Microsoft DirectX 8.1 (C++)

CADenials.CountDenied

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

The CountDenied property returns the number of denials that are now in force, disregarding transient denials.

Syntax

objCADenials.CountDenied As Long

Parameters

This property takes no 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 the number of denials in the collection whose state equals Denied. The count does not include transient denials.

Remarks

Before a policy offers the user a chance to resolve the denials—for example, by displaying a user interface—it should retrieve this property. If the count is zero and the collection is not empty, it means that all of the denials in the collection are transient.

This property is read-only.

See Also