Retrieves the value of the policy specified.
| C# | Visual Basic |
public static int QueryPolicy( SecurityPolicy policy )
Public Shared Function QueryPolicy ( _ policy As SecurityPolicy _ ) As Integer
- policy (SecurityPolicy)
- The policy identifier.
The value of the policy identified by policy.
If the policy setting does not exist, zero (0) is returned.
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |