Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Retrieves the properties of the current virtual desktop server (VDS), but only when the server is offline.
Syntax
uint32 QueryOfflineInformation(
[out] string Build,
[out] string CurrentVersion,
[out] string InstallationType,
[out] string EditionId,
[out] string SysPrepImageState,
[out] string SysPrepMode,
[out] sint32 ProcArch,
[out] boolean fIsVmbusCapable,
[out] boolean fIsRdvIcInstalled
);
Parameters
-
Build [out]
-
On a success, returns the build version of the VDS.
-
CurrentVersion [out]
-
On a success, returns the current version of the VDS.
-
InstallationType [out]
-
On a success, returns the installation type of the VDS.
-
EditionId [out]
-
On a success, returns the edition ID of the VDS.
-
SysPrepImageState [out]
-
On success, returns the system prep image state of the VDS.
-
SysPrepMode [out]
-
On a success, returns the system prep mode of the VDS.
-
ProcArch [out]
-
On a success, returns a value indicating the processor architecture.
-
0
-
x86
-
1
-
amd64
fIsVmbusCapable [out]
on a success, indicates whether the system is VMBus-capable.
fIsRdvIcInstalled [out]
On a success, indicates if RDVIC is installed.
Return value
Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2012 |
| Namespace |
Root\CIMv2\TerminalServices |
| MOF |
|
| DLL |
|