FileExtensions method of the Win32_TSApplicationFileExtensions class

Provides a list of the file name extensions that are handled by an application.

Syntax

uint32 FileExtensions(
  [in]  string AppPath,
  [out] string Extensions[]
);

Parameters

AppPath [in]

The path of the application.

Extensions [out]

The file name extensions that are handled by the application.

Remarks

You must be a member of the Administrators group to call this method.

Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Microsoft Windows Software Development Kit (SDK). They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\CIMv2\TerminalServices
MOF
Tsallow.mof
DLL
TsPubWmi.dll

See also

Win32_TSApplicationFileExtensions