Enable method of the Win32_OfflineFilesCache class
Enables or disables the Offline Files feature.
Note On Windows Server operating systems beginning with Windows Server 2008 R2, the Offline Files COM API and WMI provider are available only if the Desktop Experience feature is installed.
Syntax
uint32 Enable( [in] boolean Enable, [out] boolean RebootRequired );
Parameters
- Enable [in]
-
Specify TRUE to enable Offline Files, or FALSE to disable.
- RebootRequired [out]
-
Receives TRUE if a system restart is necessary to apply the desired configuration, or FALSE otherwise.
Return value
This method returns either a WMI return code or a system error code.
Requirements
|
Minimum supported client | Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps only] |
|
Namespace |
\root\cimv2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012
