Compartir a través de


TransitionOnline method of the Win32_OfflineFilesCache class

Transitions an item online if possible.

Syntax

uint32 TransitionOnline(
  [in] string Path,
  [in] uint32 Flags
);

Parameters

Path [in]

Fully qualified UNC path of the item to be transitioned online.

Flags [in]

One or more of the following flag values.

OfflineFilesTransitionFlagInteractive (0x00000001)

Set this flag if the operation is allowed to display user interface elements as necessary. An example is the system's credential-request dialog.

OfflineFilesTransitionFlagConsole (0x00000002)

This flag is ignored if the OfflineFilesTransitionFlagInteractive flag is not set. If the OfflineFilesTransitionFlagInteractive flag is set, this flag indicates that any UI produced should be directed to the console window associated with the process invoking the operation.

Return value

This method returns either a WMI return code or a system error code.

Remarks

The entire scope of the item is transitioned online, not just the item. An item's scope is defined as the closest ancestor shared folder of the item.

Requirements

Minimum supported client
Windows Vista with SP1
Minimum supported server
Windows Server 2008
Version
KB935553 on Windows Vista
Namespace
Root\CIMv2
Header
Cscobj.h
MOF
OfflineFilesWmiProvider.mof
DLL
CscObj.dll

See also

Win32_OfflineFilesCache