Microsoft SDK for Java

includeApplications

This method of the ExecutionPermission Class adds specific applications to the set of programs that the permission allows. Applications are specified by a pattern string that can contain wildcard expressions.

Syntax

public void includeApplications(String pattern);

Examples

  includeApplications("notepad.exe");

  includeApplications("c:\\anything\\*.exe");

Note   This method does nothing if the permission object already specifies unrestricted access.

Parameters

Pattern The pattern that specifies the applications that are allowed. It can contain wildcard expressions.

See Also

com.ms.util.WildcardExpression

© 1999 Microsoft Corporation. All rights reserved. Terms of use.